/** * Performance monitoring and optimization utilities for Raaghu Design System */ export interface PerformanceMetrics { componentName: string; renderTime: number; duration: number; timestamp: number; } export declare class PerformanceMonitor { private static metrics; private static isEnabled; static enable(): void; static disable(): void; static recordMetric(componentName: string, duration: number): void; static getMetrics(): PerformanceMetrics[]; static clearMetrics(): void; static getAverageRenderTime(componentName: string): number; static getSlowComponents(threshold?: number): string[]; } export declare class BundleSizeAnalyzer { static analyzeComponent(_componentName: string): Promise; static getBundleSizeReport(): Promise>; } export declare class MemoryLeakDetector { private static observers; private static eventListeners; private static timers; static trackObserver(observer: MutationObserver): void; static trackEventListener(cleanup: () => void): void; static trackTimer(timer: number): void; static cleanup(): void; static getActiveResourceCount(): number; } export declare class PerformanceTimingUtils { private static timers; static startTimer(name: string): void; static endTimer(name: string): number; } declare const _default: { PerformanceMonitor: typeof PerformanceMonitor; BundleSizeAnalyzer: typeof BundleSizeAnalyzer; MemoryLeakDetector: typeof MemoryLeakDetector; PerformanceTimingUtils: typeof PerformanceTimingUtils; }; export default _default;