import { MongoClient } from 'mongodb'; import { DatabaseDesignArray, DriversClassType, MongoDBDriverOptions } from '../Types'; export declare class MongoDBDriver implements DriversClassType { readonly options: MongoDBDriverOptions; readonly client: MongoClient; private db; constructor(options: MongoDBDriverOptions); init(table: string): Promise; createTable(table: string): Promise; tables(): Promise; insert(table: string, value: DatabaseDesignArray): Promise; setRowByKey(table: string, key: string, value: any): Promise; getAllRows(table: string): Promise<[any, boolean]>; getRowByKey(table: string, key: string): Promise; deleteRowByKey(table: string, key: string): Promise; deleteAllRows(table: string): Promise; close(): Promise; }