interface Subtitle { text: string; duration: number; offset: number; } export declare function convertToSrt(data: Subtitle[]): string; export declare class YoutubeTranscript { private videoId; private transcript?; private srt?; private plainText?; constructor(youtubeURL: string); getTranscript(): Promise; getSrt(): Promise; getTranscriptPlainText(): Promise; getTranscriptJSON(): Promise; getVideoId(youtubeURL: string): string; computeVideo(): Promise<{ videoId: string; srt: string; plainText: string; }>; } export {};