import { SourceMapper } from '@datadog/pprof'; import { ProfileExport } from '../profile-exporter.js'; import { Profiler } from './profiler.js'; export interface HeapProfilerStartArgs { samplingIntervalBytes: number; stackDepth: number; sourceMapper: SourceMapper | undefined; } export declare class HeapProfiler implements Profiler { private lastProfiledAt; private sourceMapper; constructor(); getLabels(): Record; wrapWithLabels(): void; profile(): ProfileExport; setLabels(): void; start(args: HeapProfilerStartArgs): void; stop(): null; }