import { ChangeEvent } from 'react'; import type { MediaPlayer, StreamPlayerType } from '../types'; type PlayerFuntionsProps = { mainContainer: React.RefObject; player: MediaPlayer; videoEl: React.RefObject; streamUrl: string | undefined; }; declare const usePlayerFunctions: (props: PlayerFuntionsProps) => { BUFFERING: any; firstTimeMuted: boolean; fullScreen: boolean; handleFullScreen: () => Promise; handleFullScreenMobile: () => void; handleMainButton: () => void; handleMobileOptions: () => void; handleMute: () => void; handlePictureAndPicture: () => void; handleVolume: (e: ChangeEvent) => void; IDLE: any; inactive: boolean; muted: boolean; overlay: boolean; pictureInPicture: boolean; PLAYING: any; setInactive: import("react").Dispatch>; setOverlay: import("react").Dispatch>; showOptions: boolean; status: string; volume: number; progress: number; handleVideoProgress: (e: ChangeEvent) => void; handleOnTimeUpdate: () => void; showHoverOptions: boolean; setShowHoverOptions: import("react").Dispatch>; handleHideOnInactivity: (isPaused?: boolean) => void; handleBackTenSeconds: () => void; handleAdvanceTenSeconds: () => void; currentTime: string; duration: string; hideMobileHoverCtrlsTimeout: number | undefined; }; export default usePlayerFunctions;