import { UserAgentPlatform } from "../../models"; /** * UserAgentUtils class for functions related to user-agent (OS/devices/browsers detection,...) * @class UserAgentUtils */ export declare class UserAgentUtils { private static _currentPlatform; static getCurrentPlatform(): UserAgentPlatform; /** * Check if the user is on specific platforms (OS). The function is a wrapper of most platform checking functions in `UserAgentUtils` * @param platforms The platforms that needs to check */ static isOnPlatforms: (...platforms: UserAgentPlatform[]) => boolean; static isPlatformAndroid(): boolean; private static _isMobile; /** * Return true if browser is mobile version. Otherwise is false. **/ static isMobile(): boolean; private static mobileRegex1; private static mobileRegex2; private static isMobileByLegacyUserAgent; private static isMobileByUserAgentData; private static getUserAgentData; /** * Return true if IE browser. Otherwise is false. */ static isIE(): boolean; /** * Returns true if it's Safari browser, otherwise false */ static isSafari(): boolean; /** * Returns true if user is on iOS, otherwise false */ static isPlatformIOS(): boolean; static isPlatformWindows(): boolean; static isPlatformMacOS(): boolean; }