export interface MemorySnapshot {
    memoryPath: string;
    userPath: string;
    memory: string;
    user: string;
}
export type MemoryTarget = "memory" | "user";
export interface MemoryStoreOptions {
    agentDir: string;
}
export declare class MemoryStore {
    readonly dir: string;
    readonly memoryPath: string;
    readonly userPath: string;
    constructor(options: MemoryStoreOptions);
    ensure(): void;
    readSnapshot(): MemorySnapshot;
    formatForSystemPrompt(snapshot?: MemorySnapshot): string;
    read(target: MemoryTarget): string;
    append(target: MemoryTarget, text: string): string;
    replace(target: MemoryTarget, text: string): string;
    clear(target: MemoryTarget): string;
    private ensureFile;
    private pathFor;
}
export declare function sanitizeMemoryText(text: string): string;
//# sourceMappingURL=memory-store.d.ts.map