import { SanitizeArticleHtmlOptions } from '../types/html/SanitizeArticleHtmlOptions'; /** * Canonical sanitizer for rich article HTML rendered into a session-bearing * webview. Superset of the alerts and unacknowledged-bulletins variants: keeps * iframes and data-* attributes (renderWidgets discovers embedded sub-widgets via * data-*), strips scripts/inline handlers/javascript:, and forces * rel="noopener noreferrer" on target="_blank" anchors. When options.isAllowedIframeSrc * is provided, iframes whose src fails it are dropped (injected so this module * does not depend on /links, which owns isAllowedIframeSrc). * @param {string} html - Raw article HTML from the Staffbase API. * @param {SanitizeArticleHtmlOptions} options - Optional iframe-src allowlist. * @returns {string} Sanitized HTML safe to inject/parse. */ export declare const sanitizeArticleHtml: (html: string, options?: SanitizeArticleHtmlOptions) => string; //# sourceMappingURL=sanitizeArticleHtml.d.ts.map