import type { TimelineClock } from '../../core/timeline'; import type { DtypeRef } from './dtype-helpers'; interface SubtitleViewProps { src: string; clock?: TimelineClock | null; /** Optional dtype id or spec. Informational — passed by `` during dispatch. */ dtype?: DtypeRef; className?: string; } /** * SubtitleView * * ## Data format contract * * Chunks: WebVTT (`.vtt`), standard W3C WebVTT format — not JSONL. * * File shape: * WEBVTT * * HH:MM:SS.mmm --> HH:MM:SS.mmm * Cue text * * Constraints: * - Cue timestamps are absolute seconds on the playlist timeline * - Only one active cue is displayed at a time * * How the view renders: * Parses VTT once per segment. Polls `clock.time` at ~10fps and displays * whichever cue's `[start, end)` contains the current time. */ export declare function SubtitleView({ src, clock, className }: SubtitleViewProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=SubtitleView.d.ts.map