type CacheEntry = { key: string; data: T; timestamp: number; ttl: number; }; export declare class APICache { private static instance; private dbName; private storeName; private db; /** * Private constructor to prevent direct instantiation */ private constructor(); /** * Get singleton instance of APICache */ static getInstance(): APICache; /** * Initialize IndexedDB */ init(): Promise; /** * Get cached entry (if not expired) */ get(key: string): Promise | null>; /** * Set cache */ set(key: string, data: T, ttl: number): Promise; /** * Delete specific cache */ invalidate(key: string): Promise; /** * Clear all cache */ clear(): Promise; } export declare const apiCache: APICache; export {}; //# sourceMappingURL=apicache.service.d.ts.map