/** @hidden */ interface CaptionProperties { text?: string; start?: number; duration?: number; segments?: CaptionSegment[]; } declare type CaptionSegment = { utf8: string; tOffsetMs?: number; acAsrConf: number; }; /** * Represent a single video caption entry */ export declare class Caption implements CaptionProperties { /** caption content */ text: string; /** caption start time in milliseconds */ start: number; /** caption duration in milliseconds */ duration: number; /** caption duration in milliseconds */ segments: CaptionSegment[]; /** @hidden */ constructor(attr?: CaptionProperties); /** transcript end time in milliseconds */ get end(): number; } export {};