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