import type Hls from 'hls.js' export type ControlsProps = { videoRef: React.RefObject hlsRef: React.RefObject onDownload?: () => void active: boolean setActive: () => void focused: boolean setFocused: (focused: boolean) => void onScreen: boolean fullscreenRef: React.RefObject hlsLoading: boolean hasSubtitleTrack: boolean isGif: boolean altText?: string updateCuePositions: (controlsVisible?: boolean) => void }