//#region src/common/platform.d.ts /** * Retrieves the global `localStorage` object. * @returns The global `localStorage` object if available, otherwise `undefined`. */ declare function getLocalStorage(): any | undefined; /** * Retrieves the global `window` object. * @returns The global `window` object if available, otherwise `undefined`. */ declare function getWindow(): any | undefined; /** * Retrieves the navigator object if it is available. * @returns The navigator object if available, otherwise undefined. */ declare function getNavigator(): any | undefined; /** * Retrieves the global object in the current environment. * @returns The global object. */ declare function getGlobal(): any; /** @deprecated */ declare function detect(info?: { ios: boolean; macos: boolean; windows: boolean; beaker: boolean; electron: boolean; wkwebview: boolean; pwa: boolean; pwaInstalled: boolean; browser: boolean; node: boolean; worker: boolean; test: boolean; jest: boolean; macosNative: boolean; iosNative: boolean; appleNative: boolean; touch: boolean; }): { ios: boolean; macos: boolean; windows: boolean; beaker: boolean; electron: boolean; wkwebview: boolean; pwa: boolean; pwaInstalled: boolean; browser: boolean; node: boolean; worker: boolean; test: boolean; jest: boolean; macosNative: boolean; iosNative: boolean; appleNative: boolean; touch: boolean; }; declare function isBrowser(): boolean; /** * Before closing the tab/window or quitting the node process * allow to do something important first */ declare function useExitHandler(handler: () => void): void; //#endregion export { getWindow as a, getNavigator as i, getGlobal as n, isBrowser as o, getLocalStorage as r, useExitHandler as s, detect as t }; //# sourceMappingURL=platform-dMHkbfcr.d.cts.map