import { MemoryInterface, MemoryEntry } from './memory-interface'; /** * Simple in-memory implementation of the MemoryInterface * Useful for development and testing */ export declare class InMemoryMemory implements MemoryInterface { private memories; private logger; /** * Creates a new in-memory memory system */ constructor(); /** * Stores a memory entry * * @param memory - The memory to store * @returns Promise that resolves when storage is complete */ store(memory: MemoryEntry): Promise; /** * Retrieves memories relevant to a query using simple keyword matching * More sophisticated implementations would use embeddings or other techniques * * @param query - The query to find relevant memories for * @param limit - Optional limit on number of memories to retrieve (default: 5) * @returns Promise resolving to an array of memory content strings */ retrieve(query: string, limit?: number): Promise; /** * Get all stored memories * * @returns Promise resolving to all memory entries */ getAll(): Promise; /** * Delete a specific memory by ID * * @param id - ID of the memory to delete * @returns Promise resolving to true if deleted, false if not found */ delete(id: string): Promise; /** * Clear all memories * * @returns Promise resolving when all memories are cleared */ clear(): Promise; }