/** * Whether the browser currently believes it has a network connection * (AGL-1056). * * The console is an authoring tool, and the failure it has to avoid is the * silent one: edits that appear to apply, a save that never lands, and no * indication that the network — rather than the app — is the reason. This is * the signal the chrome renders from. * * `navigator.onLine` is a floor, not a guarantee. It answers "is there a * network interface up", which is why it can read `true` on a captive portal * or a dead uplink. It cannot produce a false OFFLINE, though, and that is the * direction this is used in: when it says offline, the console is offline. */ export declare function useOnlineStatus(): boolean; export default useOnlineStatus;