/** * Deterministic credential pattern scanner for transcript redaction. * * Applies named regex patterns in priority order (highest first). No entropy * heuristic — only structured patterns are matched. Existing ⟦REDACTED:⟧ * markers in the input are excluded from pattern scanning. */ export type CredentialCategory = 'api-key' | 'bearer-token' | 'jwt' | 'private-key' | 'password'; export interface PatternRedactionResult { text: string; matches: Array<{ id: string; category: CredentialCategory; }>; nextId: number; } /** * Scan `input` for named credential patterns and replace each match with * `⟦REDACTED::⟧`. Patterns are processed in priority * order; overlapping lower-priority matches are skipped. Existing * `⟦REDACTED:⟧` ranges are fully excluded from scanning. No entropy * heuristic is applied. */ export declare function redactCredentialPatterns(input: string, idPrefix: string, firstId?: number): PatternRedactionResult; //# sourceMappingURL=transcript-redaction.d.ts.map