import type { MemoryId } from '../../types/ids/index.js';
import type { CreateMemoryParams, MemoryContent, MemoryIndexEntry, MemorySearchParams, MemorySearchResult, MemoryStore } from '../../types/memory/index.js';
import { type Logger } from '../../utils/logger.js';
import { InMemoryMemoryIndex } from './index.js';
export interface DiskMemoryStoreConfig {
    baseDir: string;
    logger?: Logger;
}
export declare class DiskMemoryStore implements MemoryStore {
    private baseDir;
    private log;
    private index;
    private initialized;
    constructor(config: DiskMemoryStoreConfig);
    private get indexPath();
    private get contentDir();
    private contentPath;
    private ensureInit;
    create(params: CreateMemoryParams): Promise<{
        entry: MemoryIndexEntry;
        content: MemoryContent;
    }>;
    get(id: MemoryId): Promise<MemoryContent | undefined>;
    update(id: MemoryId, updates: Partial<CreateMemoryParams>): Promise<MemoryIndexEntry | undefined>;
    delete(id: MemoryId): Promise<boolean>;
    list(params?: MemorySearchParams): Promise<MemorySearchResult>;
    getIndex(): InMemoryMemoryIndex;
    private persistIndex;
}
//# sourceMappingURL=disk.d.ts.map