UNPKG

cloudflare

Version:

The official TypeScript library for the Cloudflare API

21 lines 721 B
import * as Core from 'cloudflare/core'; import { APIResource } from 'cloudflare/resource'; import * as VttAPI from 'cloudflare/resources/stream/captions/language/vtt'; export declare class Vtt extends APIResource { /** * Return WebVTT captions for a provided language. */ get(identifier: string, language: string, params: VttGetParams, options?: Core.RequestOptions): Core.APIPromise<string>; } export type VttGetResponse = string; export interface VttGetParams { /** * Identifier */ account_id: string; } export declare namespace Vtt { export import VttGetResponse = VttAPI.VttGetResponse; export import VttGetParams = VttAPI.VttGetParams; } //# sourceMappingURL=vtt.d.ts.map