import type { GasProfile, TraceFrame } from "../types.js"; /** * Compute a gas profile from a call tree. The output mirrors the tree shape: * each entry attributes the frame's gas usage and computes `selfGas` (gas * spent in this frame, excluding nested calls). Percentages are relative to * the root frame's `gasUsed`. * * Uses an explicit stack for both tree construction and bottom-up reduction * — safe for arbitrarily deep trees. */ export declare function buildGasProfile(root: TraceFrame): GasProfile; //# sourceMappingURL=buildGasProfile.d.ts.map