/** * Sanitizes text input and detects XSS attack patterns. * * Sanitizes first with DOMPurify, then checks for malicious patterns in both * the original and sanitized text to catch mutation XSS attacks. * * @param text - Input text to sanitize * @returns Object with cleanText (sanitized) and isXSSDetected flag */ export declare const detectAndCleanXSS: (text: string) => { cleanText: string; isXSSDetected: boolean; };