import { Logger } from '@shadow-library/common'; import { Collection, Connection } from 'mongoose'; import { MongooseModuleFactoryOptions } from './mongoose.interface'; export declare const logger: Logger; export declare function getModelToken(model: string, connectionName?: string): string; export declare function getConnectionToken(name?: string): string; export declare function createConnection(connectionName: string, opts: MongooseModuleFactoryOptions): Promise; export declare function mongooseDebugLogger(this: Collection, collectionName: string, methodName: string, ...methodArgs: any[]): void;