/** * HTML sanitization utilities * Uses DOMPurify to sanitize HTML content */ /** * Default allowed HTML tags * Same as React version */ export declare const allowedHtmlTags: string[]; /** * Default allowed HTML attributes */ export declare const allowedHtmlAttributes: string[]; /** * Sanitize HTML with custom configuration * @param text - HTML text to sanitize * @param customAllowedHtmlTags - Optional custom allowed tags * @returns Sanitized HTML string */ export declare function sanitizeHTMLWithConfig(text: string, customAllowedHtmlTags?: string[]): string; /** * Sanitize content if sanitization is enabled * @param content - Content to sanitize * @param isSanitizeEnabled - Whether sanitization is enabled * @param customAllowedHtmlTags - Custom allowed tags * @returns Sanitized or raw content */ export declare function sanitizeContent(content: string | undefined, isSanitizeEnabled: boolean, customAllowedHtmlTags?: string[]): string;