/** * AuraGlass Performance Monitoring * Real-time performance tracking and optimization * Enhanced with consciousness interface performance monitoring */ interface PerformanceMetrics { componentMount: number; firstPaint: number; layoutShift: number; interactionLatency: number; memoryUsage: number; backdropFilterCost: number; consciousnessInit: number; eyeTrackingLatency: number; biometricProcessing: number; predictiveAnalysis: number; spatialAudioLatency: number; achievementTracking: number; } export declare const CONSCIOUSNESS_PERFORMANCE_BUDGETS: { readonly CONSCIOUSNESS_INIT: 50; readonly EYE_TRACKING_UPDATE: 16.67; readonly BIOMETRIC_PROCESSING: 100; readonly PREDICTIVE_ANALYSIS: 200; readonly SPATIAL_AUDIO_UPDATE: 33.33; readonly ACHIEVEMENT_TRACKING: 50; readonly COMPONENT_RENDER: 16.67; }; declare class GlassPerformanceMonitor { private metrics; private observer; private rafId; private consciousnessMetrics; private performanceViolations; /** * Start monitoring performance */ start(): void; /** * Measure component mount time */ measureComponentMount(componentName: string, callback: () => void): number; /** * Measure backdrop filter rendering cost */ private measureBackdropFilterCost; /** * Get blur amount from element */ private getBlurAmount; /** * Monitor memory usage */ private monitorMemory; /** * Monitor consciousness interface performance */ private monitorConsciousnessPerformance; /** * Record consciousness-specific metrics */ recordConsciousnessMetric(operation: string, duration: number): void; /** * Get budget for consciousness operation */ private getConsciousnessBudget; /** * Get consciousness performance statistics */ getConsciousnessStats(): Record; /** * Record a metric */ private recordMetric; /** * Get comprehensive performance report */ getReport(): { timestamp: string; baseMetrics: PerformanceMetrics | undefined; consciousnessMetrics: Record; performanceViolations: { operation: string; actual: number; budget: number; }[]; budgets: { readonly CONSCIOUSNESS_INIT: 50; readonly EYE_TRACKING_UPDATE: 16.67; readonly BIOMETRIC_PROCESSING: 100; readonly PREDICTIVE_ANALYSIS: 200; readonly SPATIAL_AUDIO_UPDATE: 33.33; readonly ACHIEVEMENT_TRACKING: 50; readonly COMPONENT_RENDER: 16.67; }; recommendations: string[]; }; /** * Generate performance recommendations */ private generateRecommendations; /** * Stop monitoring */ stop(): void; } export declare const glassPerformance: GlassPerformanceMonitor; /** * React hook for performance monitoring */ export declare function useGlassPerformance(componentName: string): void; /** * React hook for consciousness performance monitoring */ export declare function useConsciousnessPerformance(componentName: string): { measureOperation: (operation: string, fn: () => void) => void; }; /** * Performance-optimized consciousness hooks */ export declare function useOptimizedConsciousnessFeatures(features: any): { debouncedEyeTracking: (data: any) => void; throttledBiometricProcessing: (data: any) => void; }; /** * Intersection Observer for lazy loading glass elements */ export declare function lazyLoadGlass(threshold?: number): void; /** * Adaptive quality based on device capabilities */ export declare function getAdaptiveQuality(): "high" | "medium" | "low"; export {}; //# sourceMappingURL=performance.d.ts.map