/** * 组件帮助类 */ declare class ComponentService { /** * 获取部分自定义组件名称 */ static getName: (url: string, prefix: string) => string; /** * 检测异步控件是否加载完毕 */ static detectLoaded(ref: any, cb: Function): void; /** * 有问题,后续可弃用 */ static getRegisteredComponents: () => string[]; } export default ComponentService;