import { Key } from 'interface-datastore/key'; import { BaseDatastore } from './base.ts'; import type { AbortOptions } from 'abort-error'; import type { KeyQuery, Pair, Query } from 'interface-datastore'; export declare class MemoryDatastore extends BaseDatastore { private readonly data; constructor(); put(key: Key, val: Uint8Array, options?: AbortOptions): Key | Promise; get(key: Key, options?: AbortOptions): Uint8Array | Promise; has(key: Key, options?: AbortOptions): boolean | Promise; delete(key: Key, options?: AbortOptions): void | Promise; _all(q: Query, options?: AbortOptions): Generator | AsyncGenerator; _allKeys(q: KeyQuery, options?: AbortOptions): Generator | AsyncGenerator; } //# sourceMappingURL=memory.d.ts.map