export interface PerformanceMetric { operation: string; duration: number; timestamp: Date; details?: Record; } export declare class PerformanceProfiler { private static instance; private metrics; private enabled; private slowThreshold; private timers; private constructor(); static getInstance(): PerformanceProfiler; enable(): void; disable(): void; setSlowThreshold(ms: number): void; startTimer(operation: string, details?: Record): void; endTimer(operation: string, details?: Record): number; measure(operation: string, fn: () => Promise, details?: Record): Promise; measureSync(operation: string, fn: () => T, details?: Record): T; getMetrics(): PerformanceMetric[]; getAverageByOperation(): Map; getSlowestOperations(limit?: number): PerformanceMetric[]; getBottlenecks(): { operation: string; totalTime: number; percentage: number; }[]; printReport(): void; reset(): void; exportMetrics(): string; } export declare const profiler: PerformanceProfiler; //# sourceMappingURL=performance-profiler.d.ts.map