import { IParsedSample } from '../../types'; import InputsService from '../../inputs/inputs.service'; import type { MongoClient, Db } from 'mongodb'; export declare function loadMongoDbHandler(): Promise<{ new (connectionString: string): { connectionString: string; client: MongoClient; db: Db | null; inputService: InputsService; connect(): Promise; getCollection(collectionName: string): Promise>; create(sample: IParsedSample[], query: string, params: Record | Record[], collectionName: string): Promise<{ acknowledged: boolean; count: number; ids: import("bson").ObjectId[]; id?: undefined; } | { acknowledged: boolean; id: import("bson").ObjectId; count?: undefined; ids?: undefined; }>; insertOne(sample: IParsedSample[], query: string, params: Record, collectionName: string): Promise<{ id: import("bson").ObjectId; acknowledged: boolean; }>; insertMany(sample: IParsedSample[], query: string, params: Record[], collectionName: string): Promise<{ acknowledged: boolean; count: number; ids: import("bson").ObjectId[]; }>; read(data: IParsedSample[], query: string, params: Record, collectionName: string): Promise[]>; update(schema: IParsedSample[], query: string, params: Record, collectionName: string, filterSchema: IParsedSample[], filter: string, filterOptions?: Record): Promise; delete(schema: IParsedSample[], query: string, params: Record, collectionName: string): Promise; aggregate(schema: IParsedSample[], query: string, params: Record, collectionName: string): Promise; count(schema: IParsedSample[], query: string, params: Record, collectionName: string): Promise; closeConnection(): Promise; }; }>;