import type { BatchDBOp, DB, DBObject } from './db.js'; export declare class MapDB implements DB { _database: Map; constructor(database?: Map); get(key: TKey): Promise; put(key: TKey, val: TValue): Promise; del(key: TKey): Promise; batch(opStack: BatchDBOp[]): Promise; /** * Note that the returned shallow copy will share the underlying database with the original * * @returns DB */ shallowCopy(): DB; open(): Promise; } //# sourceMappingURL=mapDB.d.ts.map