import type { TranscriptSegment } from "../../../link-preview/types.js";
export interface YoutubeTranscriptContext {
    html: string;
    originalUrl: string;
    videoId: string;
}
export type TranscriptPayload = {
    text: string;
    segments: TranscriptSegment[] | null;
};
export declare const REQUEST_HEADERS: Record<string, string>;
export declare const YT_INITIAL_PLAYER_RESPONSE_TOKEN = "ytInitialPlayerResponse";
export declare const INNERTUBE_API_KEY_REGEX: RegExp;
export declare const isObjectLike: (value: unknown) => value is Record<string, unknown>;
export type YoutubePlayerContext = Record<string, unknown> & {
    client?: unknown;
};
export type CaptionsPayload = Record<string, unknown> & {
    captions?: unknown;
    playerCaptionsTracklistRenderer?: unknown;
};
export type CaptionListRenderer = Record<string, unknown> & {
    captionTracks?: unknown;
    automaticCaptions?: unknown;
};
