import React from 'react'; import Hls from '../types/hls.js'; interface VideoState { currentTime: number; duration: number; ended: boolean; paused: boolean; volume: number; buffering: boolean; error: string | null; seeking: boolean; } interface VideoContextProps { videoEl: HTMLVideoElement | null; videoState: VideoState; setVideoState: (state: Partial) => void; } interface VideoContextProviderProps { videoRef: React.RefObject; hlsRef: React.RefObject; } export declare const VideoContext: React.Context; export declare const VideoContextProvider: React.FC; export declare const useVideo: () => VideoContextProps; export {};