/** * Transcript parsers for Cursor JSONL, Claude Code JSONL, and plain Markdown formats. * * Each parser normalizes the raw format into a uniform `Transcript` structure * that the anonymizer and extractor can consume. */ export interface TranscriptMessage { role: "user" | "assistant" | "tool"; content: string; timestamp?: string; } export interface Transcript { id: string; filePath: string; sourceType: "cursor" | "claude_code" | "markdown"; messages: TranscriptMessage[]; /** Raw full text for evidence_quote validation */ rawText: string; } export declare function parseCursorJsonl(rawText: string, filePath: string, id: string): Transcript; export declare function parseClaudeCodeJsonl(rawText: string, filePath: string, id: string): Transcript; export declare function parseMarkdown(rawText: string, filePath: string, id: string): Transcript; export declare function parseTranscriptFile(filePath: string, id: string): Promise; //# sourceMappingURL=parser.d.ts.map