export type SubtitleTrack = {
    id: string;
    lang: string;
    label: string;
    kind: string;
    isDefault: boolean;
    url?: string;
    createdAt?: string;
    fileName?: string;
    status?: 'uploading' | 'ready' | 'error' | 'draft';
};
type ApiOptions = {
    baseUrl?: string;
    authToken?: string;
};
type UploadTrackOptions = {
    lang: string;
    label?: string;
    kind?: string;
    default?: boolean;
    signal?: AbortSignal;
};
export declare function normalizeSubtitleTrack(raw: any): SubtitleTrack;
export declare function listTracks(videoId: string, options?: ApiOptions): Promise<SubtitleTrack[]>;
export declare function uploadTrack(videoId: string, file: File, uploadOptions: UploadTrackOptions, options?: ApiOptions): Promise<SubtitleTrack | null>;
export declare function getVttUrl(videoId: string, trackId: string, options?: ApiOptions): string;
export declare function resolveSubtitleUrl(videoId: string, track: SubtitleTrack, options?: ApiOptions): string;
export declare function setDefaultTrack(videoId: string, trackId: string, options?: ApiOptions): Promise<void>;
export declare function deleteTrack(videoId: string, trackId: string, options?: ApiOptions): Promise<void>;
export {};
//# sourceMappingURL=videoSubtitlesApi.d.ts.map