UNPKG

@transcrobes/subs-convert

Version:

Convert subtitles from one format to another

10 lines 376 B
/** * See spec: https://www.w3.org/TR/webvtt1/#file-structure */ import { ParsedResult, ParserOptions } from "../shared/types"; export declare class ParserError extends Error { error?: Error; constructor(message: string, error?: Error); } export declare function parseWebVTT(input: string, options?: ParserOptions): ParsedResult; //# sourceMappingURL=parser.d.ts.map