import type { RawCallFrame, RawStructLog, OpcodeStep, TraceFrame } from "../types.js"; /** * Convert a raw callTracer frame (as returned by debug_traceTransaction) into * the canonical TraceFrame shape. Recursively normalizes nested calls. * * `to` becomes null for contract-creation frames (CREATE/CREATE2 or when the * raw value is missing/`0x`). Numeric fields become bigints. Bad inputs are * coerced rather than thrown — loaders should produce a usable tree even from * partially malformed data. */ export declare function normalizeCallFrame(raw: RawCallFrame, depth?: number): TraceFrame; /** * Convert raw structLogger output into canonical OpcodeStep array. Numeric * fields stay as numbers (they always fit in JS number for valid traces); * hex strings stay as hex. */ export declare function normalizeStructLogs(raw: RawStructLog[]): OpcodeStep[]; //# sourceMappingURL=normalize.d.ts.map