UNPKG

@deepgram/captions

Version:

Node implementation of Deepgram's WebVTT and SRT formatting. Given a transcription, this package can return a valid string to store as WebVTT or SRT caption files.

9 lines 386 B
import { DeepgramResponse, WordBase } from "../lib/types"; import { IConverter } from "./IConverter"; export declare class DeepgramConverter implements IConverter { transcriptionData: DeepgramResponse; constructor(transcriptionData: DeepgramResponse); getLines(lineLength?: number): WordBase[][]; getHeaders(): string[]; } //# sourceMappingURL=DeepgramConverter.d.ts.map