/**
 * @module sanitize
 * @description Sanitize AI/LLM responses to prevent prompt injection and terminal exploits.
 */
/**
 * Strip suspicious prompt injection patterns from LLM text output.
 * Catches common injection attempts like "Ignore previous instructions",
 * fake system prompts, and markdown-disguised commands.
 */
export declare function sanitizeLLMResponse(text: string): string;
/**
 * Sanitize a file path returned by an AI model.
 * Prevents path traversal and null byte injection.
 */
export declare function sanitizeFilePath(path: string): string;
/**
 * Sanitize structured data from AI responses (e.g., JSON parsed results).
 * Recursively sanitizes all string values.
 */
export declare function sanitizeAIResult<T>(data: T): T;
