import type { Hex } from "viem"; import type { TraceResult } from "../types.js"; export interface LoadHashOptions { /** Transaction hash to trace. */ txHash: Hex; /** RPC endpoint (must support `debug_traceTransaction`). */ rpcUrl: string; /** Optional fetch implementation — defaults to the global. */ fetch?: typeof globalThis.fetch; /** Request timeout in ms (default 60_000). */ timeoutMs?: number; } /** * Fetch a trace via `debug_traceTransaction` (callTracer mode) and normalize * it. The caller must point at an RPC endpoint that supports debug methods — * public PulseChain RPC does not, but Anvil forks and dedicated nodes do. * * Throws on RPC error, network failure, or timeout. Does NOT throw for empty * traces; an empty top-level frame becomes a TraceFrame with no children. */ export declare function loadTraceFromHash(options: LoadHashOptions): Promise; //# sourceMappingURL=loadTraceFromHash.d.ts.map