1 | import { DynamicModule, ModuleMetadata } from '@nestjs/common';
|
2 | /**
|
3 | * @publicApi
|
4 | */
|
5 | export declare class ConditionalModule {
|
6 | /**
|
7 | * @publicApi
|
8 | */
|
9 | static registerWhen(module: Required<ModuleMetadata>['imports'][number], condition: string | ((env: NodeJS.ProcessEnv) => boolean), options?: {
|
10 | timeout?: number;
|
11 | debug?: boolean;
|
12 | }): Promise<Required<Pick<DynamicModule, "module" | "imports" | "exports">>>;
|
13 | }
|