import type { Address } from "viem"; import type { TraceFrame } from "../types.js"; export interface AddressMatchOptions { /** Match frames where this address is `from`. Default: true. */ matchFrom?: boolean; /** Match frames where this address is `to`. Default: true. */ matchTo?: boolean; } /** * Return all frames where the given address appears as `from`, `to`, or both * (per options). Comparison is case-insensitive. The returned array is in * pre-order traversal order. */ export declare function filterByAddress(root: TraceFrame, address: Address, options?: AddressMatchOptions): TraceFrame[]; //# sourceMappingURL=filterByAddress.d.ts.map