import { IMemoryIndex } from '../storage'; import { IMemoryUnit } from '../base'; /** * In-memory implementation of IMemoryIndex */ export declare class InMemoryIndex implements IMemoryIndex { private indexMap; private memories; index(memory: IMemoryUnit): Promise; add(memory: IMemoryUnit): Promise; search(query: string): Promise; update(memory: IMemoryUnit): Promise; delete(id: string): Promise; remove(id: string): Promise; batchIndex(memories: IMemoryUnit[]): Promise; getMemory(id: string): Promise; private extractSearchTerms; private deepCloneWithMaps; }