/** * Anonymizes conversation transcripts before LLM extraction. * * Strips PII (emails, tokens, phone numbers, @mentions, IP addresses) while * preserving information useful for code knowledge extraction: * - File paths (/path/to/file.rb) * - Class and method names (CamelCase, snake_case) * - Role labels (user, assistant) * - Technical terminology */ import type { Transcript } from "./parser.js"; /** * Anonymizes the text content of a single message while preserving code * identifiers and file paths that are needed for knowledge extraction. */ export declare function anonymizeText(text: string): string; /** * Returns an anonymized copy of the transcript. * The original `rawText` is kept untouched for evidence_quote validation. */ export declare function anonymizeTranscript(transcript: Transcript): Transcript; //# sourceMappingURL=anonymizer.d.ts.map