import type { TokenDelta, TraceFrame } from "../types.js"; /** * Extract ERC-20 Transfer events from a call trace. Walks the tree depth-first * and collects logs attached to each frame (populated by `withLog: true` * callTracer mode). Reverted call frames and their entire subtrees are * skipped — those logs are rolled back on-chain and would not appear in the * transaction receipt. * * ERC-721 Transfer events share the same topic hash but have 4 topics * (tokenId is indexed); they are filtered out. ERC-1155 transfers use * different topic hashes and are not decoded here. * * Returns an empty array if the trace contains no logs or no Transfer events. * `logIndex` reflects the position within the *successful* log stream * (matching what a receipt would contain), not the raw walk order. */ export declare function parseTokenDeltas(root: TraceFrame): TokenDelta[]; //# sourceMappingURL=tokenDeltas.d.ts.map