type UseClock = { enable: () => void; disable: () => void; stop: () => void; toggle: () => void; cooldown: (ms: number, condition: () => boolean) => void; isEnabled: boolean; }; type UseClockReturn = [UseClock, (callback: () => void) => void]; /** * Hook that manages timer functionality with enable/disable/cooldown features * * @param timeout - Timeout interval in milliseconds * @param initCb - Initial callback function * @returns Tuple with clock controls and callback setter */ declare function useClock(timeout: number, initCb?: () => void): UseClockReturn; export { useClock };