/** * HTTP Cache utility with ETag and Cache-Control support * Implements client-side caching following HTTP standards */ interface CacheEntry { data: T; etag?: string; cacheControl?: string; timestamp: number; } interface CacheControlDirectives { maxAge?: number; public?: boolean; private?: boolean; noCache?: boolean; noStore?: boolean; mustRevalidate?: boolean; } /** * HTTP Cache Manager * Singleton pattern for managing HTTP cache across the SDK */ declare class HttpCacheManager { private static instance; private cache; private constructor(); static getInstance(): HttpCacheManager; /** * Fetch with HTTP caching (ETag + Cache-Control) */ fetchWithCache(url: string): Promise; /** * Clear cache for a specific URL or all cache */ clearCache(url?: string): void; /** * Get cache statistics */ getCacheStats(): { size: number; entries: string[]; }; } export declare const httpCache: HttpCacheManager; export type { CacheEntry, CacheControlDirectives }; //# sourceMappingURL=httpCache.d.ts.map