import { IMongoConfig, IMongoConnectionConfig, IMongoConnectionOptions } from './interfaces'; /** * Setting up config in the singleton, use this function on your application init * @sync * @stable * @param mongoConfig * @param awsSecretKey * @param mongoInstance : since single service can make connections to multiple mongo databases * @param mongoConnectionOptions : to configure maxPoolSize, minPoolSize, maxConnecting * @param instanceKey */ export declare const setMongoConnectionConfig: (mongoConfig: IMongoConfig, awsSecretKey: string, mongoInstance?: string, mongoConnectionOptions?: IMongoConnectionOptions, instanceKey?: string) => void; /** * Used to get config from the singleton, mostly used internally * @sync * @stable * @internal * @param instanceKey * @param mongoInstance : since single service can make connections to multiple mongo databases */ export declare const getMongoConnectionConfig: (mongoInstance?: string, instanceKey?: string) => IMongoConnectionConfig;