import { IMidwayApplication, IMidwayFramework } from '@midwayjs/core'; import { ComponentModule, IBootstrapAppStarter, MockBootstrapOptions } from './interface'; export declare function create>(appDir: string | MockBootstrapOptions, options?: MockBootstrapOptions): Promise; export declare function createApp>(baseDir: string | MockBootstrapOptions, options?: MockBootstrapOptions): Promise>; export declare function close(app: IMidwayApplication | { close: (...args: any[]) => void; }, options?: { cleanLogsDir?: boolean; cleanTempDir?: boolean; sleep?: number; }): Promise; export declare function createFunctionApp, Y = ReturnType>(baseDir?: string | MockBootstrapOptions, options?: MockBootstrapOptions, customFrameworkModule?: { new (...args: any[]): T; } | ComponentModule): Promise; /** * Create a real project but not ready or a virtual project * @param baseDirOrOptions * @param options */ export declare function createLightApp(baseDirOrOptions: string | MockBootstrapOptions, options?: MockBootstrapOptions): Promise; export declare function createBootstrap(entryFile: string, options?: MockBootstrapOptions): Promise; //# sourceMappingURL=creator.d.ts.map