export declare class NextMetric { name: string; value: any; unit: string; description: string; tags: string[]; timestamp: Date; } export interface INextProfilerComponent { init(profiling: NextProfiling): Promise; start(): Promise; stop(): Promise; retrieve(): Promise; } export declare class NextProcessProfiler implements INextProfilerComponent { init(profiling: NextProfiling): Promise; start(): Promise; stop(): Promise; retrieve(): Promise; } export declare class NextMetricSnapshot { metrics: NextMetric[]; timestamp: Date; } export declare class NextProfiling { private emitter; private metrics; private isRun; private isStopped; private components; on(name: string, action: any): void; off(name: string, action: any): void; once(name: string, action: any): void; addComponent(component: INextProfilerComponent): void; start(): Promise; stop(): Promise; reset(): Promise; private run; retrieveMetrics(): Promise; } //# sourceMappingURL=NextProfiling.d.ts.map