/**
 * Subscribes to network state changes.
 *
 * @param callback - The callback function to call when the network state changes
 * @returns A function to unsubscribe from the network state changes
 */
export declare const useNetworkStateSubscribe: (callback: (event: Event) => any) => () => void;
/**
 * A hook that returns the network state.
 *
 * @returns The network state
 */
export declare function useNetworkState(): NetworkState;
