declare global { interface Window { cordova: unknown; } } /** * Check if the user is currently offline * * #### Example * * ```js * const isOffline = offlineService.isOffline() * // handle user being offline * ``` * * @returns */ export declare function isOffline(): boolean;