export type VideoSource = { src: string; label: string; type?: string; }; export type VideoChapter = { label: string; time: number; }; export type VideoTheme = "light" | "dark"; export type VideoAnalyticsEvent = { type: "play"; currentTime: number; } | { type: "pause"; currentTime: number; } | { type: "seek"; from: number; to: number; } | { type: "quality"; label: string; currentTime: number; } | { type: "pip"; enabled: boolean; } | { type: "fullscreen"; enabled: boolean; } | { type: "ended"; }; export type VideoOptions = { selector: string; sources: VideoSource[]; poster?: string; theme?: VideoTheme; captions?: { src: string; srclang?: string; label?: string; }; chapters?: VideoChapter[]; autoplay?: boolean; onAnalytics?: (evt: VideoAnalyticsEvent) => void; hydrate?: boolean; }; //# sourceMappingURL=Video.types.d.ts.map