import { CooldownHandle } from '@skewedaspect/sage'; interface SageTimerComposable { delay: (ms: number, callback: () => void) => () => void; interval: (ms: number, callback: () => void) => () => void; cooldown: (ms: number) => CooldownHandle; } /** * Returns pause-aware timer functions (delay, interval, cooldown) from the game engine. Timers requested before the * engine has booted are queued and started as soon as it does, so a component can set them up in `setup()`. All active * timers are cancelled when the component unmounts. */ export declare function useSageTimer(): SageTimerComposable; export {};