import { Collection } from "mongodb"; import { Driver as AnecdoteDriver } from "../../Engine/Driver"; import { Service as Bus } from "../../Bus/Service"; import { Configuration } from "./Configuration"; export declare abstract class Driver implements AnecdoteDriver { name: string; protected connectionString: string; private db; constructor(configuration: Configuration, bus: Bus); connect(): Promise; protected save(collection: string, document: any): Promise; protected collection(name: string): Collection; close(): Promise; setup(): Promise; }