/*** * @file: * @author: caojianping * @Date: 2023-07-05 19:34:14 */ import { OpenPlatformTypeEnum } from '../enums'; import { IOpenPlatform } from '../interfaces'; /** * 开放平台工厂 */ export declare class OpenPlatformFactory { private platforms; /** * 构造函数 */ constructor(); /** * 获取开放平台类型 * PS:根据windows挂载的对象自动判断当前平台类型 * @returns 返回开放平台类型 */ private getPlatformType; /** * 获取开放平台服务实例 * @param type 开放平台类型 * @returns 返回平台服务实例 */ getInstance(type?: OpenPlatformTypeEnum): IOpenPlatform | null; }