import { PerformanceMetrics, MemoryProfile, BenchmarkResult, PerformanceEvent, PerformanceEventType } from './types.js'; export declare class ProfilerUtils { private static activeProfiles; private static memoryProfiles; private static events; private static maxEvents; static startProfile(name: string): void; static endProfile(name: string): PerformanceMetrics | null; static measureAsync(name: string, fn: () => Promise): Promise<{ result: T; metrics: PerformanceMetrics; }>; static measure(name: string, fn: () => T): { result: T; metrics: PerformanceMetrics; }; static getCurrentMemoryUsage(): { heapUsed: number; heapTotal: number; external: number; rss: number; }; static getCurrentCpuUsage(): { user: number; system: number; }; static recordMemoryProfile(): void; static getMemoryProfiles(): MemoryProfile[]; static benchmark(name: string, fn: () => Promise | void, iterations?: number): Promise; static formatMetrics(metrics: PerformanceMetrics): string; static formatBytes(bytes: number): string; static emitEvent(type: PerformanceEventType, data: any, metrics?: PerformanceMetrics): void; static getEvents(type?: PerformanceEventType): PerformanceEvent[]; static clearEvents(): void; static getActiveProfiles(): string[]; static forceGarbageCollection(): void; private static getGCCount; private static estimateCacheSize; static createTimer(): () => number; static withTimeout(promise: Promise, timeoutMs: number, timeoutMessage?: string): Promise; static throttle any>(fn: T, delayMs: number): T; static debounce any>(fn: T, delayMs: number): T; } //# sourceMappingURL=ProfilerUtils.d.ts.map