export declare class SiteInfo { protocol?: string; name?: string; title?: string; short_title?: string; host?: string; port?: number; api: string; needLogin?: boolean; } export declare class CjfecOptions { site: SiteInfo; [prop: string]: any; } /** * 组件库全局类 */ export default class Cjfec { /** * 初始化,在项目入口处执行 * @param options */ static init(options: CjfecOptions): void; /** * 获取单例实例 * @param options */ static getInstance(): Cjfec; private static _instance; private _options; /** * 构造函数 */ private constructor(); /** * 获取配置 */ getOptions(prop?: string): any; /** * 获取Api * TODO: * 后续删掉 */ getApi(): string; }