/**
 * HTML sanitization utilities
 * @countermeasure/web-components/utils/sanitize
 */
export interface SanitizeHtmlOptions {
    allowSvg?: boolean;
}
/** Escape HTML special characters to prevent injection in text content */
export declare function escapeHtml(value: string): string;
/** Sanitize HTML to remove dangerous content while preserving safe markup */
export declare function sanitizeHtml(html: string, options?: SanitizeHtmlOptions): string;
export declare function createSafeMarkupFragment(markup: string, options?: SanitizeHtmlOptions): DocumentFragment;
export declare function createSafeHtmlFragment(html: string, options?: SanitizeHtmlOptions): DocumentFragment;
export declare function setSafeMarkup(element: Element, markup: string, options?: SanitizeHtmlOptions): void;
/** Safely assign sanitized HTML into an element. */
export declare function setSafeHtml(element: Element, html: string, options?: SanitizeHtmlOptions): void;
export declare function setSafeIconMarkup(element: Element, markup: string): void;
/** Safely assign icon markup while preserving inline SVG support. */
export declare function setSafeIconHtml(element: Element, html: string): void;
//# sourceMappingURL=sanitize.d.ts.map