/**
 * JsonFileStore — generic JSON file persistence with atomic writes.
 *
 * Handles lazy loading, atomic writes via a temporary file, and ensures the
 * directory hierarchy exists. Invalid JSON and write failures are thrown so
 * callers do not mistake corrupted state for an empty store or persisted write.
 */
export declare class JsonFileStore<T> {
    private readonly filePath;
    constructor(filePath: string);
    /** Load JSON data from disk, or return null if the file does not exist. */
    load(): Promise<T | null>;
    /** Atomically persist data to disk. */
    save(data: T): Promise<void>;
}
//# sourceMappingURL=json-file-store.d.ts.map