import { DynamicModule, Type } from '@nestjs/common/interfaces'; import { ModuleTokenFactory } from './module-token-factory'; export interface ModuleFactory { type: Type; token: string; dynamicMetadata?: Partial | undefined; } export declare class ModuleCompiler { private readonly moduleTokenFactory; constructor(moduleTokenFactory?: ModuleTokenFactory); compile(metatype: Type | DynamicModule | Promise, scope: Type[]): Promise; extractMetadata(metatype: Type | DynamicModule | Promise): Promise<{ type: Type; dynamicMetadata?: Partial | undefined; }>; isDynamicModule(module: Type | DynamicModule): module is DynamicModule; }