export type Metric = { total: number; max?: number; count?: number; }; export type CommandMetric = { total: number; started: number; command: string; }; export declare const initMetric: () => { total: number; max: number; count: number; }; export declare const registerOnMetric: (total: number, metric: Metric) => void; export declare const mergeMetrics: (inMetric: Metric, outMetric: Metric) => void;