declare class Capabilities { /** * @private */ static $language: string; /** * @language zh_CN * 表示运行内容的系统的语言代码。语言指定为 ISO 639-1 中的小写双字母语言代码。 * 对于中文,另外使用 ISO 3166 中的大写双字母国家/地区代码,以区分简体中文和繁体中文。
* 以下是可能但不限于的语言和值: * */ static get language(): string; /** * @private */ static $isMobile: boolean; /** * 表示程序内容是否运行在移动设备中(例如移动电话或平板电脑)。 */ static get isMobile(): boolean; static $isWeChat: boolean; static get isWeChat(): boolean; static $isQQ: boolean; static get isQQ(): boolean; static $isHuawei: boolean; static get isHuawei(): boolean; /** * @private */ static $os: string; /** * @language zh_CN * 指示当前的操作系统。os 属性返回下列字符串: * */ static get os(): string; static $isIOSSafari: boolean; static get isIOSSafari(): boolean; } export default Capabilities;