import type { UseThrottledFnOptions } from "../use-throttled-fn/index.cjs"; import type { AnyFunc } from "../utils/basic.cjs"; export interface UseReFocusOptions extends UseThrottledFnOptions { /** * Register focus event listener. */ registerReFocus?: (callback: AnyFunc) => void; } export declare function registerWebReFocus(callback: AnyFunc): () => void; /** * A hook to call the callback when the window is focused. * * @since 1.4.0 */ export declare function useReFocus(callback: AnyFunc, options?: UseReFocusOptions): () => void; export declare function createReactNativeReFocusRegister(appState: any): (callback: AnyFunc) => () => void;