import { TransactionReceipt } from 'ethers'; import { RpcSource } from './index.js'; /** * Waits for a transaction to be mined and returns the transaction receipt. * * @param txHash - The hash of the transaction to wait for. * @param rpc - The RPC source to use for querying the blockchain. * @param timeout - The time to wait between checks, in milliseconds. Defaults to 20000ms. * @returns A promise that resolves to the TransactionReceipt, or null if the transaction is not found. */ export declare function awaitTx(txHash: string, rpc: RpcSource, timeout?: number): Promise;