import type { AgentMessage } from "@elyracode/agent-core"; import { type Model } from "@elyracode/ai"; /** Directory for memory files */ export declare function getMemoryDir(): string; /** Get the memory file path for a given project cwd */ export declare function getMemoryPath(cwd: string): string; /** Load existing memory for a project, or return undefined if none exists */ export declare function loadMemory(cwd: string): string | undefined; /** Save memory content for a project */ export declare function saveMemory(cwd: string, content: string): void; /** * Generate a memory summary from a completed session's messages. * If existing memory exists, merges the new observations with it. */ export declare function generateMemory(options: { messages: readonly AgentMessage[]; model: Model; apiKey: string; headers?: Record; existingMemory?: string; cwd: string; }): Promise; //# sourceMappingURL=memory.d.ts.map