index.d.ts 1.4 KB

1234567891011121314151617181920
  1. /**
  2. * @license
  3. * SPDX-License-Identifier: Apache-2.0
  4. */
  5. /** Safe builders */
  6. export { safeAttrPrefix } from './builders/attribute_builders';
  7. export { concatHtmls, createScript, createScriptSrc, htmlEscape } from './builders/html_builders';
  8. export { HtmlSanitizer, sanitizeHtml, sanitizeHtmlAssertUnchanged, sanitizeHtmlToFragment } from './builders/html_sanitizer/html_sanitizer';
  9. export { HtmlSanitizerBuilder } from './builders/html_sanitizer/html_sanitizer_builder';
  10. export { appendParams, blobUrlFromScript, replaceFragment, trustedResourceUrl } from './builders/resource_url_builders';
  11. export { concatScripts, safeScript, safeScriptWithArgs, scriptFromJson } from './builders/script_builders';
  12. export { concatStyles, safeStyle } from './builders/style_builders';
  13. export { concatStyleSheets, safeStyleSheet } from './builders/style_sheet_builders';
  14. /** Types, constants and unwrappers */
  15. export { SafeAttributePrefix, unwrapAttributePrefix } from './internals/attribute_impl';
  16. export { EMPTY_HTML, isHtml, SafeHtml, unwrapHtml } from './internals/html_impl';
  17. export { isResourceUrl, TrustedResourceUrl, unwrapResourceUrl } from './internals/resource_url_impl';
  18. export { EMPTY_SCRIPT, isScript, SafeScript, unwrapScript } from './internals/script_impl';
  19. export { isStyle, SafeStyle, unwrapStyle } from './internals/style_impl';
  20. export { isStyleSheet, SafeStyleSheet, unwrapStyleSheet } from './internals/style_sheet_impl';