/** * The device platform type * @namespace platform * @memberof device * ua the user agent string for the current device * iOS `true` if the device is an iOS platform * android `true` if the device is an Android platform * android2 `true` if the device is an Android 2.x platform (deprecated) * linux `true` if the device is a Linux platform * chromeOS `true` if the device is running on ChromeOS. * wp `true` if the device is a Windows Phone platform (deprecated) * BlackBerry `true` if the device is a BlackBerry platform (deprecated) * Kindle `true` if the device is a Kindle platform (deprecated) * ejecta `true` if running under Ejecta * isWeixin `true` if running under Wechat * nodeJS `true` if running under node.js * isMobile `true` if a mobile device * webApp `true` if running as a standalone web app */ export declare const ua: string; /** * iPad-on-Mac-UA predicate. Exported so the spec file can assert the * SAME function the module evaluates at load time (no drift between * docs and implementation), but marked `@internal` because it's a * test-seam, not a stable public API — the engine reserves the right * to change / inline / rename it without a breaking-change bump. * * Parameter shape is `Partial>` rather than a * named alias so no engine-defined type leaks into the emitted * `.d.ts` (`tsconfig.build.json` doesn't currently set * `stripInternal`). * @param nav - a `navigator`-shaped object (or `undefined` for Node/SSR) * @returns `true` when `nav` looks like an iPad reporting under the iPadOS-13+ desktop Mac UA * @internal */ export declare function isIPadOnMacUA(nav: Partial> | undefined): boolean; export declare const iOS: boolean; export declare const android: boolean; /** * @deprecated since 19.7.0 — Android 2.x predates 2012. Will be removed in 20.x. */ export declare const android2: boolean; export declare const linux: boolean; export declare const chromeOS: boolean; /** * @deprecated since 19.7.0 — Windows Phone was EOL'd by Microsoft in 2017. Will be removed in 20.x. */ export declare const wp: boolean; /** * @deprecated since 19.7.0 — BlackBerry stopped shipping BB10 devices in 2016. Will be removed in 20.x. */ export declare const BlackBerry: boolean; /** * @deprecated since 19.7.0 — Kindle has a negligible market share and behaves like Android. Will be removed in 20.x. */ export declare const Kindle: boolean; export declare const ejecta: boolean; export declare const isWeixin: boolean; export declare const nodeJS: boolean; export declare const isMobile: boolean; export declare const webApp: boolean; //# sourceMappingURL=platform.d.ts.map