/** * Hook that runs a callback after a specified delay * * @param callback - Function to call after delay * @param delay - Delay in milliseconds (null to cancel) * * @example * ```tsx * const Component = () => { * const [show, setShow] = useState(false); * useTimeout(() => setShow(true), 1000); * return
{show ? 'Shown' : 'Hidden'}
; * }; * ``` */ export declare function useTimeout(callback: () => void, delay: number | null): void; //# sourceMappingURL=useTimeout.d.ts.map