import type { MemoryGraphData, ConversationSummary, EmbeddingIndex, MemoryStore } from "./types.js";
import { type LogLevel } from "../../logger.js";
export declare class FileMemoryStore implements MemoryStore {
    private baseDir;
    /** Built once in the constructor from `logLevel`. Each line emitted
     *  is `[memory]`-prefixed so it groups with the manager's output
     *  when grepping. */
    private logger;
    constructor(baseDir: string, logLevel?: LogLevel);
    private dir;
    private ensureDir;
    private validate;
    private readJSON;
    private writeJSON;
    loadGraph(memoryId: string): Promise<MemoryGraphData>;
    saveGraph(memoryId: string, graph: MemoryGraphData): Promise<void>;
    loadEmbeddings(memoryId: string): Promise<EmbeddingIndex | null>;
    saveEmbeddings(memoryId: string, index: EmbeddingIndex): Promise<void>;
    loadSummary(memoryId: string): Promise<ConversationSummary | null>;
    saveSummary(memoryId: string, summary: ConversationSummary): Promise<void>;
}
