type IdleEvent = 'click' | 'keydown' | 'keypress' | 'mousemove' | 'scroll' | 'touchmove' | 'wheel'; type UseIdleOptions = { events?: IdleEvent[]; initialState?: boolean; target?: Document | HTMLElement; }; export declare function useIdle(timeout: number, options?: UseIdleOptions): boolean; export type { IdleEvent, UseIdleOptions };