export declare function useOnIdle(callback?: () => void, timeout?: number): boolean;