import type { Ref } from '@stacksjs/stx'; /** * User idle detection. * Tracks whether the user is idle based on activity events. * * @param timeout - Idle timeout in milliseconds. Default: 60000 (1 minute) * @param options - Configuration for events and initial state * @returns Reactive idle state and last active timestamp */ export declare function useIdle(timeout?: number, options?: UseIdleOptions): UseIdleReturn; export declare interface UseIdleOptions { events?: string[] initialState?: boolean } export declare interface UseIdleReturn { idle: Ref lastActive: Ref }