import type { PersistentMemoryStore, PersistentMemoryBlock, MemoryBlockScope } from './types.js'; export interface FilePersistentMemoryStoreOptions { /** Root directory. Defaults to `KURALLE_MEMORY_DIR` or `~/.kuralle/memories`. */ rootDir?: string; } export declare class FilePersistentMemoryStore implements PersistentMemoryStore { readonly rootDir: string; constructor(opts?: FilePersistentMemoryStoreOptions); private pathFor; private dirFor; loadBlock(scope: MemoryBlockScope, owner: string, key: string): Promise; saveBlock(block: PersistentMemoryBlock, owner: string): Promise; deleteBlock(scope: MemoryBlockScope, owner: string, key: string): Promise; listBlocks(scope: MemoryBlockScope, owner: string): Promise; }