/** * The device platform type * @namespace platform * 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. * appleVendor `true` if the browser reports an Apple vendor (Safari) * 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; export declare const iOS: boolean; /** * `true` when the browser reports an Apple vendor string — Safari on * macOS or iOS. Distinct from {@link iOS}: a Mac running Safari is * `appleVendor` but not `iOS`, and Chrome on iOS is `iOS` but not * `appleVendor`. */ export declare const appleVendor: 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; /** * `true` on Amazon devices — Fire tablets (which report the Silk browser) and * legacy Kindle e-readers. * * The previous pattern required `Silk` followed by `Mobile Safari`, which no * current Fire tablet sends: Chromium-based Silk ends its user agent with * `Safari/537.36`, so every modern Fire tablet went undetected. Silk is * Amazon-only, so matching the `Silk/` token directly is both narrower and * correct. * * Note these devices are ordinary Android: {@link android} is `true` for all of * them, and nothing in the engine branches on this constant. * @deprecated since 19.7.0 — Kindle behaves like Android and {@link android} * already covers it. Will be removed in a future release. */ 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