import type { Transport } from "viem"; import { z } from "zod/v4"; /** Schema for {@link ResilientTransportOptions}. */ export declare const resilientTransportOptionsSchema: z.ZodObject<{ retryCount: z.ZodDefault; delay: z.ZodDefault; maxDelay: z.ZodDefault; jitter: z.ZodDefault; handleRateLimit: z.ZodDefault; handleTransient: z.ZodDefault; handleOutOfSync: z.ZodDefault; }, z.core.$strip>; /** Options accepted by {@link resilientTransport}. */ export type ResilientTransportOptions = z.input; /** * Wraps a viem {@link Transport} with retry logic for rate-limit, transient, * and out-of-sync errors using exponential backoff + jitter. */ export declare function resilientTransport(underlyingTransport: Transport, options?: ResilientTransportOptions): Transport;