// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-2026 Vorion LLC
/**
 * Input Sanitizer — Prompt Injection Detection & Neutralization
 *
 * Intercepts and sanitizes data flowing INTO AI agent context windows.
 * CogniGate evaluates agent ACTIONS; this module evaluates agent INPUTS.
 *
 * 5 poisoned RAG documents can manipulate agent behavior 90% of the time.
 * This layer detects and neutralizes injection patterns before they reach
 * the agent, reducing that attack surface to near zero.
 *
 * @example
 * ```typescript
 * import { InputSanitizer, createRAGSanitizer } from '@vorionsys/security/input-sanitizer';
 *
 * // Sanitize a RAG document set before injection into agent context
 * const sanitizer = createRAGSanitizer();
 * const results = sanitizer.sanitizeBatch(retrievedDocuments);
 *
 * const safeDocuments = results
 *   .filter(r => r.status !== 'HOSTILE')
 *   .map(r => r.sanitizedInput);
 *
 * // Feed trust weight modifier back to ATSF
 * const trustModifier = Math.min(...results.map(r => r.trustWeightModifier));
 * ```
 *
 * @packageDocumentation
 * @module security/input-sanitizer
 */
// =============================================================================
// Types
// =============================================================================
export { DEFAULT_SANITIZER_CONFIG, } from './types.js';
// =============================================================================
// Sanitizer Class
// =============================================================================
export { InputSanitizer, } from './input-sanitizer.js';
// =============================================================================
// Factory Functions
// =============================================================================
export { createStrictSanitizer, createRAGSanitizer, createMonitoringSanitizer, } from './input-sanitizer.js';
//# sourceMappingURL=index.js.map