import type { Swap, TraceFrame } from "../types.js"; /** * Extract Uniswap V1/V2/V3 swap events from a call trace. Pre-order walk, * skipping reverted subtrees. Logs that look like a swap-shape topic count * but don't match a known event hash are ignored (their `logIndex` still * increments so positions stay consistent with the on-chain receipt log * order). * * Variants are returned in a discriminated union — branch on `variant`. * V2-fork pools (SushiSwap, PancakeSwap V1, etc.) emit the same topic and * shape as UniV2 so they're decoded transparently. V4 hook-style pools * are not yet supported. */ export declare function parseSwaps(root: TraceFrame): Swap[]; //# sourceMappingURL=swaps.d.ts.map