export declare function measurePerformance any>(fn: T, detail?: unknown, thisArg?: unknown): (...args: Parameters) => Promise>>;