import type { WebVttResult } from './WebVttResult.js'; /** * WebVTT transform stream transformer. * * @group WebVTT * * @beta */ export declare class WebVttTransformer { private readonly parser; private results; /** * Creates a new WebVTT transformer. */ constructor(); private enqueueResults; /** * Transforms a chunk of WebVTT data. * * @param chunk - The chunk of WebVTT data to transform. * @param controller - The controller to enqueue the results to. */ transform(chunk: string, controller: TransformStreamDefaultController): void; /** * Flushes the transformer. * * @param controller - The controller to enqueue the results to. */ flush(controller: TransformStreamDefaultController): void; } //# sourceMappingURL=WebVttTransformer.d.ts.map