/** * Transcript Parser — Processes interview transcripts, meeting notes, * and user testing sessions into structured research insights. * * Supports formats: * - Plain text transcripts * - Timestamped transcripts (HH:MM:SS or MM:SS format) * - Speaker-labeled transcripts ("Speaker: text" or "Q: / A:" format) * - Markdown meeting notes */ export interface TranscriptSegment { speaker: string; text: string; timestamp?: string; startSeconds?: number; } export interface TranscriptInsight { finding: string; quote: string; speaker: string; sentiment: "positive" | "negative" | "neutral" | "mixed"; category: "pain-point" | "goal" | "behavior" | "need" | "opinion" | "feature-request" | "workaround" | "context"; confidence: "high" | "medium" | "low"; timestamp?: string; } export interface TranscriptAnalysis { segments: TranscriptSegment[]; insights: TranscriptInsight[]; speakers: { name: string; segmentCount: number; wordCount: number; }[]; sentiment: { positive: number; negative: number; neutral: number; mixed: number; }; topicFlow: { topic: string; firstMention: number; frequency: number; }[]; summary: string; } export declare function parseTranscript(text: string): TranscriptAnalysis;