// Global profiler instance export declare const profiler: Profiler; declare interface ProfileEntry { name: string duration: number memory?: number timestamp: number } export declare class Profiler { private entries: ProfileEntry[]; private timers: Map; private enabled: boolean; constructor(enabled?: any); start(name: string): void; end(name: string): void; measure(name: string, fn: () => T | Promise): Promise; getEntries(): ProfileEntry[]; getStats(): Record; clear(): void; enable(): void; disable(): void; report(): void; }