import { MemoryProvider, MemoryRecord, MemorySearchQuery } from './MemoryProvider';
export declare class LocalMemoryProvider implements MemoryProvider {
    private filePath;
    private lock;
    private migrationChecked;
    private legacyRoot;
    constructor(root?: string);
    name(): string;
    search(input: MemorySearchQuery): Promise<MemoryRecord[]>;
    save(record: MemoryRecord): Promise<void>;
    private commitRecord;
    private getAll;
    private maybeMigrate;
    private matchNamespace;
    /** Exposed for tests so they can target the actual on-disk file. */
    _filePath(): string;
}
