import type { IVTTHTMLCue } from "./to_html";
/**
* Parse WebVTT subtitles format when embedded in an MP4 file.
* @throws Error - Throws if the given WebVTT format.
* @param {string | BufferSource} text - The whole webvtt subtitles to parse
* @param {Object} context
* @param {Number} timeOffset - Offset to add to start and end times, in seconds
* @return {Array.