import { CompiledViewFunction, EvalContext } from '../types';
/**
 * Escape a plain text string for safe insertion into HTML.
 * Converts special HTML characters to their entity equivalents.
 *
 * @param text - Plain text string to escape
 * @returns HTML-safe string
 */
export declare function escapeHtml(text: string): string;
/**
 * Sanitize an HTML string by removing dangerous tags and attributes.
 * This is a defense-in-depth measure for content rendered via innerHTML.
 *
 * @param html - Raw HTML string to sanitize
 * @returns Sanitized HTML string safe for innerHTML
 */
export declare function sanitizeHTML(html: string): string;
export declare function evalTemplateString(raw: string, ctx: EvalContext): string;
export declare function finalCellScrub(cell: HTMLElement): void;
export declare function compileTemplate(raw: string): CompiledViewFunction<any>;
//# sourceMappingURL=sanitize.d.ts.map