/** * @deprecated */ declare const UserAgent: { /** * Check if the UA is Internet Explorer. * * * @return float|NaN Version number (if match) or NaN. */ ie: () => boolean; /** * Check if we're in Internet Explorer compatibility mode. * * @return bool true if in compatibility mode, false if * not compatibility mode or not ie */ ieCompatibilityMode: () => boolean; /** * Whether the browser is 64-bit IE. Really, this is kind of weak sauce; we * only need this because Skype can't handle 64-bit IE yet. We need to remove * this when we don't need it -- tracked by #601957. */ ie64: () => boolean; /** * Check if the UA is Firefox. * * * @return float|NaN Version number (if match) or NaN. */ firefox: () => boolean; /** * Check if the UA is Opera. * * * @return float|NaN Version number (if match) or NaN. */ opera: () => boolean; /** * Check if the UA is WebKit. * * * @return float|NaN Version number (if match) or NaN. */ webkit: () => boolean; /** * For Push * WILL BE REMOVED VERY SOON. Use UserAgent_DEPRECATED.webkit */ safari: () => boolean; /** * Check if the UA is a Chrome browser. * * * @return float|NaN Version number (if match) or NaN. */ chrome: () => boolean; /** * Check if the user is running Windows. * * @return bool `true' if the user's OS is Windows. */ windows: () => boolean; /** * Check if the user is running Mac OS X. * * @return float|bool Returns a float if a version number is detected, * otherwise true/false. */ osx: () => boolean; /** * Check if the user is running Linux. * * @return bool `true' if the user's OS is some flavor of Linux. */ linux: () => boolean; /** * Check if the user is running on an iPhone or iPod platform. * * @return bool `true' if the user is running some flavor of the * iPhone OS. */ iphone: () => boolean; mobile: () => boolean; nativeApp: () => boolean; android: () => boolean; ipad: () => boolean; }; export default UserAgent;