import { IndexSchema } from "../table/IndexSchema"; import { TableIndex } from "../table/TableIndex"; import { ItemEqualityFn } from "../table/IndexUtils"; import { TableIndexType } from "../table/Table"; export declare class MapIndex implements TableIndex { items: Map; schema: IndexSchema; indexType: TableIndexType; constructor(schema: IndexSchema); insert(item: any): void; getWithIndexKey(indexKey: any): ItemType; getListWithIndexKey(indexKey: any): any[]; hasIndexKey(indexKey: any): boolean; getAllAsList(): ItemType[]; getAsValue(): ItemType[]; iterateWithIndexKey(indexKey: any): IterableIterator; iterateAll(): IterableIterator; deleteAll(): void; deleteAllWithIndexKey(indexKey: any): void; deleteItem(item: any, matchesItem: ItemEqualityFn): void; deleteItem2(indexKey: any, matchesItem: ItemEqualityFn): void; updateItemChangedIndexKey(item: any, existingIndex: any, newIndex: any): void; getCount(): number; updateAll(updateCallbackFn: (item: ItemType) => ItemType): void; updateWithIndexKey(indexKey: any, updateCallbackFn: (item: ItemType) => ItemType): void; deleteItemWithStaleIndexKey(item: ItemType, existingIndexKey: any): void; replaceItemUsingRefEquality(indexKey: any, oldItem: ItemType, newItem: ItemType): void; deleteItemUsingRefEquality(indexKey: any, item: ItemType): void; }