/** * Returns `true` when the user has been inactive for the given duration. * Resets on mouse, keyboard, touch, and scroll activity. * * @param {number} [timeoutMs=60000] - Inactivity threshold in milliseconds * @param {boolean} [enabled=true] - Whether idle detection is active * @returns {boolean} Whether the user is currently idle * * @example * const idle = useIdle(3 * 60 * 1000); // 3 minutes * // Show "Are you still there?" dialog when idle */ export declare function useIdle(timeoutMs?: number, enabled?: boolean): boolean;