/** * Registers a callback for when the browser goes offline and returns an unsubscribe function. * * @example * const off = onOffline(() => console.log('went offline')) * off() * @since 1.0.0 */ declare const onOffline: (callback: () => void) => (() => void); export default onOffline;