import type { AnyFunc } from "../utils/basic.cjs"; export interface UseReConnectOptions { /** * Register reconnect event listener. */ registerReConnect?: (callback: AnyFunc) => void; } export declare function registerWebReConnect(callback: AnyFunc): () => void; /** * A hook to call the callback when the network is reconnected. * * @since 1.4.0 */ export declare function useReConnect(callback: AnyFunc, options?: UseReConnectOptions): void;