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