import type { Hex } from 'viem'; import type { EvmGaslessApiDeps } from '../types'; type WaitForSponsoredTransactionParams = { /** The request ID returned by `relaySponsoredTransaction` / `sendSponsoredTransaction`. */ requestId: string; }; /** * Waits until the relay reports the transaction has been included on-chain, * then returns the transaction hash. * * Each request asks the API to hold the response open until the transaction * resolves, so the hash comes back as soon as it exists. */ export declare const waitForSponsoredTransaction: ({ requestId }: WaitForSponsoredTransactionParams, deps: EvmGaslessApiDeps) => Promise<{ transactionHash: Hex; }>; export {};