import type { Ref } from '@stacksjs/stx'; /** * Reactive Network Information API. */ export declare function useNetwork(): UseNetworkReturn; export declare interface UseNetworkReturn { isSupported: Ref isOnline: Ref offlineAt: Ref onlineAt: Ref downlink: Ref downlinkMax: Ref effectiveType: Ref rtt: Ref saveData: Ref type: Ref } export type NetworkEffectiveType = 'slow-2g' | '2g' | '3g' | '4g' | undefined;