/** * Sanitizes a fragment of HTML for use with innerHTML. * * Prefers the browser's native Element.setHTML() where available, which parses * without executing. Otherwise parses in an inert document (no scripts run, no * images or other subresources are fetched) and scrubs the result. */ export declare function sanitizeHtml(html: string): string;