import React, { type SetStateAction, type RefObject } from 'react'; type VideoState = { ref?: RefObject; isPlaying: boolean; isMuted: boolean; volume: number; volumeBeforeMute: number | null; ccEnabled: boolean; duration: number; }; export type UseVideoContext = VideoState & { play: () => void; pause: () => void; togglePlaying: () => void; mute: () => void; unmute: () => void; toggleMute: () => void; setVolume: (volumeValOrFn: SetStateAction) => void; seekToPercent: (percent: number) => void; seek: (secondsValOrFn: SetStateAction) => void; enableCC: () => void; disableCC: () => void; toggleCC: () => void; enterFullScreen: () => void; exitFullScreen: () => void; toggleFullScreen: () => void; setDuration: (duration: number) => void; isFullScreen: boolean; fullscreenRef: RefObject; }; export declare const VideoContext: React.Context; export declare const useVideo: () => UseVideoContext; export declare const VideoProvider: React.ForwardRefExoticComponent<{ children?: React.ReactNode | undefined; } & React.RefAttributes>; export {};