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