import { AddressFriendly, ContractMethodName, ContractName, Metric, OpCode, SnapshotMetric } from './collectMetric'; export type KindDelta = 'undefined' | 'init' | 'same' | 'increase' | 'decrease'; export type PathDelta = string; export type ItemDelta = { kind: KindDelta; path: PathDelta; before: number; after: number; }; export type ListDelta = Record; export type DeltaMetric = { kind: KindDelta; value: string; }; export declare const undefinedDeltaMetric: () => DeltaMetric; export type ColorDelta = (metric: DeltaMetric) => string; export type DeltaMetrics = Record; export type MethodDelta = Record; export type ContractDelta = Record; export type DeltaResult = { label: string; createdAt: Date; result: ContractDelta; }; export type DeltaRow = [contract: string, method: string, ...values: DeltaMetric[]]; export type FlatDeltaResult = { header: string[]; rows: DeltaRow[]; }; export declare function toFlatDeltaResult(deltas: DeltaResult[]): { header: string[]; rows: DeltaRow[]; }; export declare function aggregatedCompareMetric(before: Metric, after: Metric, basePath?: string[]): ListDelta; export declare function prepareDelta(pair: { after: SnapshotMetric; before?: SnapshotMetric; }): DeltaResult; export declare function makeGasReport(list: SnapshotMetric[]): Array;