NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/qiankun/lib/loader.d.ts
2023-09-14 14:47:11 +08:00

9 lines
507 B
TypeScript

/**
* @author Kuitos
* @since 2020-04-01
*/
import type { ParcelConfigObject } from 'single-spa';
import type { FrameworkConfiguration, FrameworkLifeCycles, LoadableApp, ObjectType } from './interfaces';
export declare type ParcelConfigObjectGetter = (remountContainer?: string | HTMLElement) => ParcelConfigObject;
export declare function loadApp<T extends ObjectType>(app: LoadableApp<T>, configuration?: FrameworkConfiguration, lifeCycles?: FrameworkLifeCycles<T>): Promise<ParcelConfigObjectGetter>;