/** * Rigorous FTS5 Query Sanitization * * Prevents FTS5 catastrophic backtracking (ReDoS) and application-level syntax crashes * by aggressively stripping FTS control syntax and forcing queries into safe, * implicit AND-token sequences. * * Threat Vectors Mitigated: * - Unbalanced quotes & parentheses causing SQLITE_ERROR syntax crashes * - Deeply nested or hallucinated \`NEAR/xxx\` proximity operators causing FTS planner ReDoS * - Column filters (\`col:val\`) leaking unintended field traversals * - Naked booleans (\`word AND OR NOT word\`) confusing the FTS AST parser */ export declare function sanitizeFtsQuery(query: string): string; //# sourceMappingURL=fts-sanitizer.d.ts.map