/**
 * XSS Protection Utilities
 * HTML escaping and sanitization (pure TypeScript, zero dependencies)
 * Sealed namespace pattern - all exports through XssProtection namespace
 */
/**
 * Escape JSON for safe embedding in HTML
 */
export declare const escapeJson: (obj: unknown) => string;
export interface IXssProtection {
    escape(text: string): string;
    sanitize(html: string): string;
    encodeUri(uri: string): string;
    encodeHref(href: string): string;
    isSafeUrl(url: string): boolean;
    escapeJson(obj: unknown): string;
}
/**
 * XSS Protection Utilities
 * HTML escaping and sanitization (pure TypeScript, zero dependencies)
 * Sealed namespace with protection methods
 */
export declare const XssProtection: IXssProtection;
//# sourceMappingURL=XssProtection.d.ts.map