/** * Transcript Parser - shared logic for parsing Claude Code transcripts * * Used by both hook.ts (for final execution card) and session-manager.ts (for progress updates) */ import { StructuredData, StructuredCardStep } from './types'; /** * Result of parsing a transcript */ export interface TranscriptParseResult { steps: StructuredCardStep[]; toolCounts: Record; errors: Array<{ tool: string; message: string; timestamp?: string; }>; hasThinking: boolean; thinkingSummary?: string; } /** * Parse transcript content to extract tool steps and metadata */ export declare function parseTranscriptContent(content: string): TranscriptParseResult; /** * Parse transcript to build execution card data * Extracts tool_use blocks and matches them with tool_result blocks */ export declare function parseTranscriptForExecutionCard(transcriptPath: string, sessionId: string, options?: { isProgress?: boolean; title?: string; }): Promise; //# sourceMappingURL=transcript-parser.d.ts.map