import { CompareOptions } from '../query/builder/types.js'; import { OrderByDirection } from '../query/ir.js'; import { IndexInterface, IndexOperation, IndexStats } from './base-index.js'; import { RangeQueryOptions } from './btree-index.js'; export declare class ReverseIndex implements IndexInterface { private originalIndex; constructor(index: IndexInterface); lookup(operation: IndexOperation, value: any): Set; rangeQuery(options?: RangeQueryOptions): Set; rangeQueryReversed(options?: RangeQueryOptions): Set; take(n: number, from: any, filterFn?: (key: TKey) => boolean): Array; takeFromStart(n: number, filterFn?: (key: TKey) => boolean): Array; takeReversed(n: number, from: any, filterFn?: (key: TKey) => boolean): Array; takeReversedFromEnd(n: number, filterFn?: (key: TKey) => boolean): Array; get orderedEntriesArray(): Array<[any, Set]>; get orderedEntriesArrayReversed(): Array<[any, Set]>; supports(operation: IndexOperation): boolean; matchesField(fieldPath: Array): boolean; matchesCompareOptions(compareOptions: CompareOptions): boolean; matchesDirection(direction: OrderByDirection): boolean; getStats(): IndexStats; add(key: TKey, item: any): void; remove(key: TKey, item: any): void; update(key: TKey, oldItem: any, newItem: any): void; build(entries: Iterable<[TKey, any]>): void; clear(): void; get keyCount(): number; equalityLookup(value: any): Set; inArrayLookup(values: Array): Set; get indexedKeysSet(): Set; get valueMapData(): Map>; }