export interface UseIdleResetResult { /** True during the last `warnSeconds` before the reset fires. */ warning: boolean; /** Whole seconds left until reset while `warning`, else `null`. */ secondsLeft: number | null; /** Restart the idle countdown (e.g. from a "keep going" button). */ reset: () => void; } /** * Calls `onReset` after `seconds` without user activity; `warning` turns on for * the last `warnSeconds` so the screen can show "¿Sigues ahí?". Any pointer, * key, touch or wheel activity restarts the countdown (and dismisses the * warning). `seconds <= 0` disables it. */ export declare function useIdleReset(seconds: number, warnSeconds: number, onReset: () => void): UseIdleResetResult; //# sourceMappingURL=use-idle-reset.d.ts.map