export declare const ENTRY_DELIMITER = "\n\u00A7\n";
export declare class MemoryStore {
    private _memoryEntries;
    private _userEntries;
    private _systemPromptSnapshot;
    private _memoryCharLimit;
    private _userCharLimit;
    constructor(memoryCharLimit?: number, userCharLimit?: number);
    loadFromDisk(): void;
    saveToDisk(target: string): void;
    add(target: string, content: string): MemoryResponse;
    replace(target: string, oldText: string, newContent: string): MemoryResponse;
    remove(target: string, oldText: string): MemoryResponse;
    formatForSystemPrompt(target: string): string | null;
    get memoryEntries(): string[];
    get userEntries(): string[];
    getMemoryUsage(): {
        memory: string;
        user: string;
    };
    private _pathFor;
    private _entriesFor;
    private _setEntries;
    private _charCount;
    private _charLimit;
    private _readFile;
    private _writeFile;
    private _sanitizeForSnapshot;
    private _renderBlock;
    private _successResponse;
    private _errorResponse;
}
export interface MemorySuccessResponse {
    success: true;
    target: string;
    entries: string[];
    usage: string;
    entry_count: number;
    message?: string;
}
export interface MemoryErrorResponse {
    success: false;
    target: string;
    error: string;
    entries: string[];
    usage: string;
}
export type MemoryResponse = MemorySuccessResponse | MemoryErrorResponse;
export declare function getMemoryStore(): MemoryStore;
export declare function resetMemoryStore(): void;
//# sourceMappingURL=memory-store.d.ts.map