import { ProfileExport } from '../profile-exporter.js'; export interface Profiler { getLabels(): Record; setLabels(labels: Record): void; wrapWithLabels(labels: Record, fn: () => void, ...args: unknown[]): void; start(args: TStartArgs): void; stop(): ProfileExport | null; profile(): ProfileExport; }