import { Tuple } from '../../codec.js'; import { CountOptions, KVStore, KVStoreTransaction, ScanOptions } from '../../types.js'; export declare class ScopedKVStore implements KVStore { private store; private prefix; constructor(store: T, prefix: Tuple); scope(scope: Tuple): KVStore; get(key: Tuple): Promise; set(key: Tuple, value: any): Promise; delete(key: Tuple): Promise; scan(options: ScanOptions): AsyncIterable<[Tuple, any]>; scanValues(options: ScanOptions): AsyncIterable; clear(): Promise; count(options: CountOptions): Promise; transact(): KVStoreTransaction; applyEdits(sets: AsyncIterable<[Tuple, any]> | Iterable<[Tuple, any]>, deletes: AsyncIterable | Iterable): Promise; } export declare class ScopedKVStoreTransaction implements KVStoreTransaction { private tx; private prefix; constructor(tx: T, prefix: Tuple); scope(prefix: Tuple): KVStoreTransaction; get(key: Tuple): Promise; set(key: Tuple, value: any): Promise; delete(key: Tuple): Promise; scan(options: ScanOptions): AsyncIterable<[Tuple, any]>; scanValues(options: ScanOptions): AsyncIterable; clear(): Promise; count(options: CountOptions): Promise; commit(): Promise; cancel(): void; get status(): import("../../types.js").TxStatus; }