import { getPerformanceProfiler, ProfilerConfig } from './performance-profiler'; import { getBundleAnalyzer, BundleAnalyzerConfig } from './bundle-analyzer'; import { getCriticalPathAnalyzer, CriticalPathAnalyzerConfig } from './critical-path-analyzer'; import { getIdleScheduler, IdleSchedulerConfig } from './idle-scheduler'; import { getMemoryMonitor } from './memory-optimizer'; /** * @file Advanced Performance Module * @description Enterprise-grade performance profiling, optimization, and analysis utilities. * * Provides deep performance insights and optimization tools for React applications, * including render optimization, memory management, bundle analysis, and idle scheduling. */ export { PerformanceProfiler, getPerformanceProfiler, resetPerformanceProfiler, createProfilerCallback, type ProfilerConfig, type RenderTimingEntry, type LongTaskEntry, type LongTaskAttribution, type FrameRateSample, type MemorySample, type PerformanceMark, type PerformanceMeasure, type PerformanceSnapshot, type PerformanceSummary, type ProfilerEventType, type ProfilerEventListener, } from './performance-profiler'; export { RenderBatchManager, shallowEqual, deepEqual, createSelector, memoizeWithLRU, calculateVirtualListRange, createStableKeyGenerator, configureRenderTracking, trackRender, getRenderInfo, getAllRenderInfo, clearRenderTracking, getSlowComponents, DEFAULT_BATCH_CONFIG, PRIORITY_VALUES, type RenderPriority, type RenderBatchConfig, type RenderStats, type EqualityFn, type StateUpdater, type VirtualListConfig, type VirtualListRange, type RenderTrackingConfig, type ComponentRenderInfo, } from './render-optimizer'; export { MemoryMonitor, ObjectPool, MemoryAwareCache, CleanupOrchestrator, WeakRefManager, MemoryLeakDetector, getMemoryMonitor, getCleanupOrchestrator, type MemoryPressureLevel, type MemoryStats, type MemoryLeakSuspect, type ObjectPoolConfig, type CacheConfig, type CleanupCallback, type MemoryPressureCallback, } from './memory-optimizer'; export { BundleAnalyzer, getBundleAnalyzer, resetBundleAnalyzer, createTrackedImport, formatBytes, checkBundleBudget, type ChunkInfo, type ModuleInfo, type BundleAnalysisReport, type BundleRecommendation, type ResourceTimingEntry, type DynamicImportEntry, type BundleAnalyzerConfig, } from './bundle-analyzer'; export { CriticalPathAnalyzer, getCriticalPathAnalyzer, generateCriticalCSSHints, shouldPreload, type CriticalityLevel, type ResourceType, type RenderBlockingResource, type CriticalResource, type ResourceRecommendation, type DOMAnalysis, type CriticalPathAnalysis, type CriticalPathOptimization, type CriticalPathAnalyzerConfig, } from './critical-path-analyzer'; export { IdleScheduler, getIdleScheduler, resetIdleScheduler, runWhenIdle, deferToIdle, createYieldingIterator, processInIdleChunks, debounceToIdle, type IdleTaskPriority, type IdleTaskStatus, type IdleTask, type IdleSchedulerConfig, type SchedulerStats, type IdleDeadline, } from './idle-scheduler'; /** * Advanced performance initialization options */ export interface AdvancedPerformanceConfig { /** Enable performance profiling */ enableProfiling?: boolean; /** Enable bundle analysis */ enableBundleAnalysis?: boolean; /** Enable critical path analysis */ enableCriticalPathAnalysis?: boolean; /** Enable idle scheduling */ enableIdleScheduling?: boolean; /** Enable memory monitoring */ enableMemoryMonitoring?: boolean; /** Profiler configuration */ profilerConfig?: Partial; /** Bundle analyzer configuration */ bundleAnalyzerConfig?: Partial; /** Critical path analyzer configuration */ criticalPathConfig?: Partial; /** Idle scheduler configuration */ idleSchedulerConfig?: Partial; /** Memory monitoring interval in ms */ memoryMonitorInterval?: number; } /** * Initialize all advanced performance tools */ export declare function initAdvancedPerformance(config?: AdvancedPerformanceConfig): { profiler: ReturnType | null; bundleAnalyzer: ReturnType | null; criticalPathAnalyzer: ReturnType | null; idleScheduler: ReturnType | null; memoryMonitor: ReturnType | null; cleanup: () => void; };