export interface BenchmarkOperation { name: string; category: 'task_management' | 'execution' | 'storage' | 'cache' | 'memory' | 'io'; targetTime: number; description: string; operation: () => Promise; setup?: () => Promise; cleanup?: () => Promise; } export interface BenchmarkResult { operationName: string; category: string; targetTime: number; actualTime: number; memoryUsed: number; iterations: number; timestamp: Date; passed: boolean; improvement?: number; regression?: number; } export interface BenchmarkConfig { iterations: number; warmupIterations: number; targetOverhead: number; memoryThreshold: number; enableRegression: boolean; baselineWindow: number; } export interface RegressionReport { operationName: string; baselineTime: number; currentTime: number; regressionPercentage: number; severity: 'low' | 'medium' | 'high' | 'critical'; recommendation: string; } export declare class PerformanceBenchmarks { private static instance; private config; private performanceMonitor; private operations; private results; private baselines; private constructor(); static getInstance(config?: BenchmarkConfig): PerformanceBenchmarks; private initializeDefaultOperations; registerOperation(operation: BenchmarkOperation): void; runBenchmark(operationName: string): Promise; runAllBenchmarks(): Promise; runCategoryBenchmarks(category: BenchmarkOperation['category']): Promise; getBenchmarkResults(operationName: string, limit?: number): BenchmarkResult[]; getAllBenchmarkResults(): Map; detectRegressions(): RegressionReport[]; getPerformanceSummary(): { totalOperations: number; passedOperations: number; failedOperations: number; averagePerformance: number; regressionCount: number; overallHealth: 'excellent' | 'good' | 'warning' | 'critical'; }; updateBaseline(operationName: string, baselineTime?: number): void; clearResults(operationName?: string): void; exportResults(): { operations: BenchmarkOperation[]; results: { [operationName: string]: BenchmarkResult[]; }; baselines: { [operationName: string]: number; }; summary: { totalOperations: number; passedOperations: number; failedOperations: number; averagePerformance: number; regressionCount: number; overallHealth: 'excellent' | 'good' | 'warning' | 'critical'; }; regressions: RegressionReport[]; }; } export declare const DEFAULT_BENCHMARK_CONFIG: BenchmarkConfig; export declare function getPerformanceBenchmarks(): PerformanceBenchmarks | null; //# sourceMappingURL=performance-benchmarks.d.ts.map