import { DynamicModule, Type } from '@nestjs/common/interfaces'; export interface ModuleFactory { type: Type; token: string; dynamicMetadata?: Partial | undefined; } export declare class ModuleCompiler { private readonly 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; }