import { ethers } from 'ethers'; declare const CLI_RPC_READ_STALL_TIMEOUT_MS = 4000; declare const CLI_RPC_BROADCAST_TIMEOUT_MS = 10000; declare const CLI_RPC_RECEIPT_ATTEMPT_TIMEOUT_MS = 5000; declare const CLI_RPC_RECEIPT_POLL_INTERVAL_MS = 2000; declare const CLI_RPC_RECEIPT_TIMEOUT_MS = 180000; declare function cliWithTimeout(promise: Promise, ms: number, label: string): Promise; declare function isCliKnownTransactionError(err: unknown): boolean; declare function isCliRetryableRpcError(err: unknown): boolean; declare function createCliEvmProviders(rpcUrl: string, rpcUrls?: string[]): { urls: string[]; providers: ethers.JsonRpcProvider[]; readProvider: ethers.JsonRpcProvider | ethers.FallbackProvider; }; declare function getCliReceiptWithFailover(providers: ethers.JsonRpcProvider[], txHash: string): Promise; declare function assertCliSuccessfulReceipt(receipt: ethers.TransactionReceipt, txHash: string): void; declare function sendCliRawTransactionWithFailover(providers: ethers.JsonRpcProvider[], signedTx: string, txHash: string): Promise; export { CLI_RPC_READ_STALL_TIMEOUT_MS, CLI_RPC_BROADCAST_TIMEOUT_MS, CLI_RPC_RECEIPT_ATTEMPT_TIMEOUT_MS, CLI_RPC_RECEIPT_POLL_INTERVAL_MS, CLI_RPC_RECEIPT_TIMEOUT_MS, cliWithTimeout, isCliKnownTransactionError, isCliRetryableRpcError, createCliEvmProviders, getCliReceiptWithFailover, assertCliSuccessfulReceipt, sendCliRawTransactionWithFailover, }; //# sourceMappingURL=cli-rpc.d.ts.map