import { StorageAPI, StorageOptions } from '../types'; import { ApiClient } from '../utils/api'; /** * Service for key-value storage with versioning and subscriptions */ export declare class StorageService implements StorageAPI { private apiClient; private gameId; private namespace; private cache; private quotaLimit; private quotaUsage; constructor(apiClient: ApiClient, options: StorageOptions); /** * Read a key; returns `null` if unset */ get(key: string, opts?: { namespace?: string; bypassCache?: boolean; }): Promise<{ value: T | null; version: number; }>; /** * Write a key with optional optimistic version check */ set(key: string, value: T, opts?: { namespace?: string; version?: number; }): Promise<{ version: number; }>; /** * Remove a key */ remove(key: string, opts?: { namespace?: string; }): Promise; /** * Clear the cache */ clearCache(): void; /** * List all keys in the namespace */ list(opts?: { namespace?: string; }): Promise>; } //# sourceMappingURL=StorageService.d.ts.map