import { APIResource } from "../../../../core/resource.js"; import { APIPromise } from "../../../../core/api-promise.js"; import { RequestOptions } from "../../../../internal/request-options.js"; export declare class BaseVtt extends APIResource { static readonly _key: readonly ['stream', 'captions', 'language', 'vtt']; /** * Return WebVTT captions for a provided language. * * @example * ```ts * const vtt = await client.stream.captions.language.vtt.get( * 'tr', * { * account_id: '023e105f4ecef8ad9ca31a8372d0c353', * identifier: 'ea95132c15732412d22c1476fa83f27a', * }, * ); * ``` */ get(language: string, params: VttGetParams, options?: RequestOptions): APIPromise; } export declare class Vtt extends BaseVtt { } export type VttGetResponse = string; export interface VttGetParams { /** * Identifier. */ account_id: string; /** * A Cloudflare-generated unique identifier for a media item. */ identifier: string; } export declare namespace Vtt { export { type VttGetResponse as VttGetResponse, type VttGetParams as VttGetParams }; } //# sourceMappingURL=vtt.d.ts.map