import type { ContextPool } from './context-pool'; import type { YouTubeTranscriptResult } from '../types'; export declare const INTERNAL_TRANSCRIPT_USER_ID = "__yt_transcript__"; export declare function extractVideoId(url: string): string | null; export declare function detectYtDlp(log: (...args: unknown[]) => void): Promise; export declare function hasYtDlp(): boolean; export declare function ytDlpTranscript(reqId: string, url: string, videoId: string, lang: string, timeoutMs: number): Promise; export declare function browserTranscript(reqId: string, url: string, videoId: string, lang: string, contextPool: ContextPool, timeoutMs: number): Promise; export declare function parseJson3(content: string): string | null; export declare function formatVttTs(ts: string): string; export declare function parseVtt(content: string): string; export declare function parseXml(content: string): string; //# sourceMappingURL=youtube.d.ts.map