declare const safeHtmlBrand: unique symbol;
/**
* Markup that has already been escaped or run through the sanitizer. The brand
* makes the compiler - not code review - the thing that stops a raw document
* string from reaching the DOM.
*/
export type SafeHtml = string & {
readonly [safeHtmlBrand]: true;
};
/**
* Brand a string as safe. Call this only on the result of an escape or a
* `DOMPurify.sanitize()`, never on bytes that came straight out of a file.
*/
export declare function markSanitized(html: string): SafeHtml;
export declare const EMPTY_HTML: SafeHtml;
/**
* Replace an element's children with parsed markup.
*
* The markup is parsed into a `` first. Template content lives in an
* inert document, so nothing fetches, loads, or runs while it is being parsed -
* the nodes only become live once they are adopted below.
*/
export declare function setSafeHtml(el: Element, html: SafeHtml): void;
export {};