import { type Address } from "viem"; import type { CallTrace } from "./internal-types.js"; /** * Finds the first non-reverted CALL to `target` anywhere in a trace subtree. */ export declare function findCallTo(node: CallTrace, target: Address): CallTrace | undefined; /** * DFS walk of the call trace tree, collecting non-reverted CALL entries * to the given address. * Does not recurse into children of matched nodes */ export declare function collectTraces(node: CallTrace, target: Address): CallTrace[];