/** * HTML Sanitizer * * Shared utility for sanitizing HTML content and checking if it has meaningful content */ /** * Sanitize HTML content to remove dangerous elements and attributes * @param html - Raw HTML content * @returns Sanitized HTML */ export declare function sanitizeHtml(html: string): string; /** * Check if sanitized HTML has any meaningful content * @param sanitizedHtml - Sanitized HTML string * @returns True if has content, false if empty or only whitespace */ export declare function hasHtmlContent(sanitizedHtml: string): boolean; /** * Sanitize HTML and check if it has content in one step * @param html - Raw HTML content * @returns Sanitized HTML and content check result */ export declare function sanitizeAndCheck(html: string): { sanitized: string; hasContent: boolean; };