/** * @octomil/browser — Gradient cache for federated learning resilience * * Uses IndexedDB to persist gradient deltas across page reloads and * network interruptions. Unsubmitted gradients can be retried when * connectivity is restored. */ import type { GradientCacheEntry } from "./types.js"; export declare class GradientCache { private dbPromise; private openDb; /** Store a gradient entry in IndexedDB. */ store(entry: GradientCacheEntry): Promise; /** Retrieve a gradient entry by round ID. */ get(roundId: string): Promise; /** List all pending (unsubmitted) gradient entries. */ listPending(): Promise; /** Mark an entry as submitted. */ markSubmitted(roundId: string): Promise; } //# sourceMappingURL=gradient-cache.d.ts.map