import type { TranscribeSegment } from '@qvac/sdk'; export type TimedTranscriptionFormat = 'srt' | 'vtt' | 'verbose_json'; interface PartialVerboseSegment { id: number; start: number; end: number; text: string; } interface PartialVerboseTranscription { text: string; duration: number; segments: PartialVerboseSegment[]; } export type TimedTranscriptionResponse = { contentType: 'text/plain; charset=utf-8'; body: string; } | { contentType: 'text/vtt; charset=utf-8'; body: string; } | { contentType: 'application/json; charset=utf-8'; body: PartialVerboseTranscription; }; export declare function isTimedTranscriptionFormat(format: string): format is TimedTranscriptionFormat; export declare function formatTimedTranscription(format: TimedTranscriptionFormat, segments: TranscribeSegment[]): TimedTranscriptionResponse; export {}; //# sourceMappingURL=transcription-response.d.ts.map