import type { TokenApproval, TraceFrame } from "../types.js"; /** * Extract ERC-20 Approval events from a call trace. Pre-order walk, skipping * reverted subtrees (their logs are rolled back on-chain and don't appear in * receipts). * * ERC-721 Approval shares the topic hash but indexes tokenId so its log has * 4 topics — filtered out here. Use `parseEvents` (forthcoming) for the * generic by-signature decoder. * * `logIndex` reflects position in the successful log stream and increments * for every log seen (including non-Approval ones we skip), matching the * `parseTokenDeltas` convention so the two parsers' indices are comparable. */ export declare function parseApprovals(root: TraceFrame): TokenApproval[]; //# sourceMappingURL=approvals.d.ts.map