/** Thrown when YouTube is rate-limiting requests from your IP address. */ export declare class YoutubeTranscriptTooManyRequestError extends Error { constructor(); } /** Thrown when the requested video is unavailable or has been removed. */ export declare class YoutubeTranscriptVideoUnavailableError extends Error { readonly videoId: string; constructor(videoId: string); } /** Thrown when transcripts are disabled for the video by its owner. */ export declare class YoutubeTranscriptDisabledError extends Error { readonly videoId: string; constructor(videoId: string); } /** Thrown when no transcripts are available for the video. */ export declare class YoutubeTranscriptNotAvailableError extends Error { readonly videoId: string; constructor(videoId: string); } /** Thrown when the transcript is not available in the requested language. */ export declare class YoutubeTranscriptNotAvailableLanguageError extends Error { readonly videoId: string; /** The requested language code that was not available. */ readonly lang: string; /** The language codes that are available for this video. */ readonly availableLangs: string[]; constructor(lang: string, availableLangs: string[], videoId: string); } /** Thrown when the provided `lang` option is not a valid BCP 47 language code. */ export declare class YoutubeTranscriptInvalidLangError extends Error { /** The invalid language code that was provided. */ readonly lang: string; constructor(lang: string); } /** Thrown when the provided video ID or URL is invalid. */ export declare class YoutubeTranscriptInvalidVideoIdError extends Error { constructor(); }