/** * Thread-safe in-memory cache service */ export declare class Cache { private store; /** * Set a value in the cache */ set(key: string, value: T, ttlSeconds?: number): void; /** * Get a value from the cache */ get(key: string): T | null; /** * Check if a key exists in the cache */ has(key: string): boolean; /** * Delete a key from the cache */ delete(key: string): void; /** * Clear all cache entries */ clear(): void; /** * Get or set a value (lazy loading) */ getOrSet(key: string, factory: () => Promise, ttlSeconds?: number): Promise; /** * Get cache statistics */ stats(): { size: number; keys: string[]; }; /** * Clean up expired entries */ cleanup(): number; } declare const globalCache: Cache; export { globalCache }; //# sourceMappingURL=cache.d.ts.map