import { Batch, Database, Iterator } from "./types.js"; //#region src/db/mem-db.d.ts /** * In-memory database implementation using Map. * Useful for testing and development. */ declare class MemDB implements Database { private data; private closed; get(key: Uint8Array): Promise; has(key: Uint8Array): Promise; set(key: Uint8Array, value: Uint8Array): Promise; delete(key: Uint8Array): Promise; iterator(start?: Uint8Array, end?: Uint8Array): Promise; reverseIterator(start?: Uint8Array, end?: Uint8Array): Promise; batch(): Batch; close(): Promise; /** * Gets the number of keys in the database. * Useful for testing. */ size(): number; private createIterator; } //#endregion export { MemDB }; //# sourceMappingURL=mem-db.d.ts.map