UNPKG

react-azure-config

Version:

🚀 The Ultimate Multi-App Configuration Library! CRITICAL BUG FIXES: Prefixed environment keys no longer sent to Azure. Complete architectural redesign with bulletproof fallback system. Enterprise-grade Azure integration and monorepo support.

34 lines • 1.13 kB
export declare class EnhancedCacheManager { private layers; private environmentSnapshot; private envVarPrefix; private cleanupInterval; private stats; constructor(envVarPrefix?: string); private initializeCacheLayers; get<T>(key: string, layerName?: string): T | null; set<T>(key: string, value: T, source: string, layerName?: string, customTtl?: number): void; invalidate(pattern?: string, layerName?: string): number; clear(): void; checkEnvironmentChanges(): boolean; getStats(): any; warmCache(data: Record<string, { value: any; source: string; layer?: string; }>): void; destroy(): void; private findBestLayer; private selectLayerForSource; private isEnvironmentSensitive; private captureEnvironmentSnapshot; private hasEnvironmentChanged; private invalidateEnvironmentSensitiveCaches; private generateEnvHash; private generateValueHash; private simpleHash; private evictOldestEntries; private startCleanupInterval; private performCleanup; } //# sourceMappingURL=enhanced-cache.d.ts.map