import { Connection } from "mongoose"; import { ClsService } from "nestjs-cls"; export declare class DatabaseService { private readonly cls; private connection; constructor(cls: ClsService, connection: Connection); private _checkPermission; listCollections(): Promise; listCommand(): Promise; private _bindQueryOption; private _loopBindQuery; runCommand(collectionName: string, command: string, options: Object[], readableCommand: string, page?: number, pageSize?: number): Promise; }