/**
 * Centralized Message Sanitization
 *
 * Defense-in-depth layer that catches any JSON/code artifacts before
 * they reach clients. All outgoing WebSocket messages pass through here.
 *
 * This is the SINGLE place to add new sanitization patterns.
 */
/**
 * Sanitize an outgoing WebSocket message
 * Recursively processes objects and arrays, sanitizing text fields
 */
export declare function sanitizeOutgoingMessage<T>(message: T): T;
/**
 * Add a new sanitization pattern at runtime
 * Useful for adding patterns discovered in production
 */
export declare function addSanitizePattern(pattern: RegExp): void;
/**
 * Get current pattern count (for monitoring/debugging)
 */
export declare function getPatternCount(): number;
//# sourceMappingURL=messageSanitizer.d.ts.map