export type VideoMetadata = { title?: string; uploader?: string; uploadDate?: string; url: string; }; export type CaptionResult = { text: string; source: "captions" | "whisper"; language?: string; }; export declare const fetchVideoMetadata: (url: string) => Promise; export declare const fetchVideoCaptions: (url: string, tempDir: string) => Promise; export declare const downloadVideoAudio: (url: string, tempDir: string) => Promise; export declare const isWhisperAvailable: () => Promise; export declare const transcribeWithWhisper: (audioPath: string, outputDir: string, model: string, language?: string) => Promise; export declare const formatTranscriptWithMetadata: (metadata: VideoMetadata, text: string, source: "captions" | "whisper") => string; //# sourceMappingURL=video-extraction.d.ts.map