///
import EventEmitter from "eventemitter3";
import { Db, MongoClient } from "mongodb";
import { Config } from "../app/Config";
declare enum Status {
OPEN = "OPEN",
CONNECTING = "CONNECTING",
CLOSED = "CLOSED"
}
export declare class MongoDBConnection extends EventEmitter {
protected status: Status.OPEN | Status.CONNECTING | Status.CLOSED;
protected pingTimer: NodeJS.Timer;
protected config: Config;
protected client: MongoClient | void;
protected db: Db | undefined;
constructor(config: Config);
get name(): string;
connect: () => Promise;
disconnect: () => Promise;
getDB: () => Promise;
}
export {};