/** * brain-memory — Working Memory Manager * * Tracks the current state of conversation focus without extra LLM calls. * Derived entirely from extraction results and user messages. * * Updated after each turn's extraction, injected at the top of context during assemble. * Cleared when session ends. */ import type { WorkingMemoryConfig, WorkingMemoryState } from "../types"; export declare function createWorkingMemory(): WorkingMemoryState; /** * Update working memory state based on turn extraction results. * No LLM needed — derived entirely from structured extraction output. */ export declare function updateWorkingMemory(state: WorkingMemoryState, cfg: WorkingMemoryConfig, params: { extractedNodes: Array<{ name: string; category: string; type: string; content: string; }>; userMessage: string; }): WorkingMemoryState; export declare function buildWorkingMemoryContext(state: WorkingMemoryState): string | null; //# sourceMappingURL=manager.d.ts.map