/** * @module @arcis/node/sanitizers/xxe * XML External Entity (XXE) injection prevention */ import type { SanitizeResult } from '../core/types'; /** * Sanitizes a string to prevent XXE attacks. * Removes DOCTYPE, ENTITY, and CDATA constructs. */ export declare function sanitizeXxe(input: string, collectThreats?: false): string; export declare function sanitizeXxe(input: string, collectThreats: true): SanitizeResult; /** * Checks if a string contains XXE patterns. * Does not sanitize — use sanitizeXxe() for that. * * @param input - The string to check * @returns True if XXE patterns detected */ export declare function detectXxe(input: string): boolean; //# sourceMappingURL=xxe.d.ts.map