/** * Redaction engine: applies the vendored rule table in order, skips existing * placeholders for idempotence, and rewrites text, JSON values, and content * blocks. Rules are compiled once at module load; per-call work only filters * the table by level and runs the global patterns from index 0. * @module dsh-sensitive-guard/redact/engine */ import type { Redactor } from '../contracts.js'; import type { Pseudonymizer } from '../pseudonym/index.js'; export interface EngineOptions { maxScanBytes: number; piiEnabled: boolean; /** Lazily created so no key file is touched unless PII is actually scanned. */ getPseudonymizer: () => Pseudonymizer; } /** Create a redactor bound to one config's limits and PII switch. */ export declare function createEngine(options: EngineOptions): Redactor; //# sourceMappingURL=engine.d.ts.map