1 | import { DynamicModule } from '@nestjs/common';
|
2 | import { AsyncModelFactory, ModelDefinition } from './interfaces';
|
3 | import { MongooseModuleAsyncOptions, MongooseModuleOptions } from './interfaces/mongoose-options.interface';
|
4 | export declare class MongooseModule {
|
5 | static forRoot(uri: string, options?: MongooseModuleOptions): DynamicModule;
|
6 | static forRootAsync(options: MongooseModuleAsyncOptions): DynamicModule;
|
7 | static forFeature(models?: ModelDefinition[], connectionName?: string): DynamicModule;
|
8 | static forFeatureAsync(factories?: AsyncModelFactory[], connectionName?: string): DynamicModule;
|
9 | }
|