/**
 * AgentMemory - Persistent per-agent-type memory storage.
 *
 * Stores key-value memories scoped by agent type and scope level.
 * Memories persist on the virtual filesystem.
 */
export type MemoryScope = "user" | "project" | "local";
export interface MemoryEntry {
    key: string;
    value: string;
    scope: MemoryScope;
    agentType: string;
    createdAt: number;
    updatedAt: number;
}
export declare class AgentMemory {
    private memories;
    private maxEntries;
    constructor(options?: {
        maxEntries?: number;
    });
    private entryKey;
    write(agentType: string, scope: MemoryScope, key: string, value: string): MemoryEntry;
    read(agentType: string, scope: MemoryScope, key: string): MemoryEntry | undefined;
    list(agentType: string, scope?: MemoryScope): MemoryEntry[];
    delete(agentType: string, scope: MemoryScope, key: string): boolean;
    listAllAgentTypes(): string[];
    toJSON(): MemoryEntry[];
    loadFromJSON(entries: MemoryEntry[]): void;
}
