import { BaseDatastore } from './base.ts'; import type { AbortOptions } from 'abort-error'; import type { Batch, Datastore, Key, KeyQuery, Pair, Query } from 'interface-datastore'; /** * A datastore that can combine multiple stores inside various * key prefixes */ export declare class MountDatastore extends BaseDatastore { private readonly mounts; constructor(mounts: Array<{ prefix: Key; datastore: Datastore; }>); /** * Lookup the matching datastore for the given key */ private _lookup; put(key: Key, value: Uint8Array, options?: AbortOptions): Promise; /** * @param {Key} key * @param {Options} [options] */ get(key: Key, options?: AbortOptions): Promise; has(key: Key, options?: AbortOptions): Promise; delete(key: Key, options?: AbortOptions): Promise; batch(): Batch; query(q: Query, options?: AbortOptions): Generator | AsyncGenerator; queryKeys(q: KeyQuery, options?: AbortOptions): Generator | AsyncGenerator; } //# sourceMappingURL=mount.d.ts.map