import React, { RefObject } from 'react'; interface SoundControls { /** A boolean indicating if the video is muted. */ isMuted: boolean; /** handleMuteToggle: A function to toggle the mute state. */ handleMuteToggle: () => void; /** A number representing the current volume level (0 to 1). */ volume: number; /** A function to change the volume level. */ handleVolumeChange: (newVolume: number) => void; } /** * A custom hook to manage sound controls (mute and volume) for a video element. * @param videoRef - A reference to the video element. */ export declare const useVideoSoundControls: (videoRef: React.RefObject) => SoundControls; interface PlayPause { /** A boolean indicating if the video is currently playing. */ isPlaying: boolean; /** A function to toggle between play and pause states. */ handlePlayPause: () => void; } /** * A custom hook to manage play/pause functionality for a video element. * @param videoRef - A reference to the video element. */ export declare const useVideoPlayPause: (videoRef: React.RefObject) => PlayPause; interface VideoTime { /** The current playback time. */ currentTime: number; /** The total duration of the video. */ duration: number; /** A function to seek to a specific time. */ handleSeek: (newTime: number) => void; } /** * useVideoTime is a custom React hook designed to manage and synchronize the playback time state * of a video element with the React component state. It provides an interface to track the current * playback time, the total duration of the video, and a method to seek to a specific time in the video. * @param {RefObject} videoRef - A reference to the HTML video element. */ export declare const useVideoTime: (videoRef: RefObject) => VideoTime; export {};