import type { EvmGaslessApiDeps, SponsoredTransactionStatusResult } from '../types'; type GetEVMSponsoredTransactionStatusParams = { /** The request ID returned by `relaySponsoredTransaction` / `sendSponsoredTransaction`. */ requestId: string; /** * Seconds to let the API hold the response open while the transaction is * still unresolved, so the hash comes back as soon as it exists instead of on * a later call. Omitted or `0` responds immediately. */ waitSeconds?: number; }; /** * Fetches the current relay state for a sponsored EVM transaction. * * Returns the lifecycle status, the on-chain transaction hash (when the * relay has broadcast it), and any terminal-failure error message. Use this * as the building block for custom polling flows; for the common "wait until * done" case prefer `waitForSponsoredTransaction`. */ export declare const getEVMSponsoredTransactionStatus: ({ requestId, waitSeconds }: GetEVMSponsoredTransactionStatusParams, { sdkApi, environmentId }: EvmGaslessApiDeps) => Promise; export {};