/** * [INPUT]: unconsolidated episodes, LlmFn (optional), config * [OUTPUT]: newly extracted MemoryEntries (facts + lessons) promoted to long-term storage * [POS]: Episodic→Semantic consolidation — heart of multi-store memory model * * Two modes: * LLM-powered (preferred): produces high-quality semantic extraction * Heuristic fallback: frequency-based file/error extraction */ import type { NanomemConfig } from "./config.js"; import type { Episode, LlmFn, MemoryEntry } from "./types.js"; export declare function consolidateEpisodes(episodes: Episode[], cfg: NanomemConfig, llmFn?: LlmFn): Promise;