/** * Secret redaction for REPL output. * * The terminal stream from `repl_snapshot` is the most likely source of leaked * credentials: developers paste tokens, exports show env, password prompts * echo on some configurations. We replace common credential shapes with a * stable marker BEFORE the snapshot leaves the plugin process. * * False positives are acceptable; false negatives are not. */ export interface RedactionPattern { name: string; re: RegExp; } export declare const REDACTION_PATTERNS: readonly RedactionPattern[]; export declare function redactScreen(text: string): string; //# sourceMappingURL=redaction.d.ts.map