/** * 平台模块访问类 */ declare class PlatformModule { private $module; /** * 创建一个平台访问类实例 */ constructor($module: any); /** * 获取平台功能访问对象 */ readonly modules: any; /** * 获取平台类型名称 */ readonly type: string; /** * 获取平台环境变量对象 */ readonly env: Map; /** * 获取是否指定的平台类型 */ isType(type: string): boolean; /** * 使用名称路径调用平台模块方法或者获取属性 */ call(nameArr: any, ...params: any[]): any; /** * 根据名称路径获取模块内属性值 */ access(nameArr: any): any; /** * 判断平台模块中是否拥有指定的方法或属性定义 */ has(nameArr: any): boolean; /** * 初始化平台模块对象 */ init(settings: any): void; } /** * 平台模块对象访问对象 */ declare const platform: PlatformModule; /** * 根据名称路径获取模块内属性值 */ export declare const platformAccess: any; /** * 使用名称路径调用平台模块方法或者获取属性 */ export declare const platformCall: any; /** * 判断平台模块中是否拥有指定的方法或属性定义 */ export declare const platformHas: any; export default platform; //# sourceMappingURL=index.d.ts.map