import { Tuple } from '../../codec.js'; import { CountOptions, KVStore, KVStoreTransaction, ScanOptions } from '../../types.js'; import BTree_ from 'sorted-btree'; declare const BTree: typeof BTree_; type BTree = InstanceType>; import { ScopedKVStore } from '../utils/scoped-store.js'; export declare class BTreeKVStore implements KVStore { data: BTree; constructor(data?: BTree); get(key: Tuple, scope?: Tuple): Promise; set(key: Tuple, value: any, scope?: Tuple): Promise; delete(key: Tuple, scope?: Tuple): Promise; scan(options: ScanOptions, scope?: Tuple): AsyncIterable<[Tuple, any]>; scanValues(options: ScanOptions, scope?: Tuple): AsyncIterable; count(options: CountOptions, scope?: Tuple): Promise; transact(): KVStoreTransaction; clear(scope?: Tuple): Promise; scope(prefix: Tuple): ScopedKVStore; applyEdits(sets: AsyncIterable<[Tuple, any]> | Iterable<[Tuple, any]>, deletes: AsyncIterable | Iterable): Promise; } export {};