/** * JsonMemoryBackend — file-backed implementation (legacy default). * * Wraps the original `.slope/memories.json` behavior in the MemoryBackend * interface so callers can swap to a store-backed adapter without changing * the memory.ts public API. Preserves atomic writes (temp + rename) and * v0 → v1 migration. */ import type { MemoryBackend } from './memory-backend.js'; import type { Memory, MemoriesFile } from './memory-types.js'; export declare class JsonMemoryBackend implements MemoryBackend { readonly kind: "json"; private path; private cwd; constructor(cwd: string); load(): MemoriesFile; saveAll(data: MemoriesFile): void; add(memory: Memory): void; remove(id: string): boolean; update(id: string, fields: Partial>): Memory | null; getById(id: string): Memory | undefined; } //# sourceMappingURL=json-memory-backend.d.ts.map