import { type DynamicClient } from '@dynamic-labs-sdk/client'; import type { ExecuteSwapTransactionParams, ExecuteSwapTransactionResult } from '@dynamic-labs-sdk/client/core'; /** * Executes an EVM checkout transaction by handling optional ERC-20 approval * and sending the main swap transaction on-chain. * * 1. Validates that the wallet account is an EVM wallet account * 2. If the signing payload includes an `evmApproval`, checks the current * ERC-20 allowance and sends an approve transaction when insufficient * 3. Sends the main transaction using the viem wallet client * * @param params.signingPayload - The chain-aware signing payload containing `evmTransaction` and optional `evmApproval`. * @param params.walletAccount - The wallet account used to sign and send transactions. * @param params.onStepChange - Optional callback invoked with `'approval'` or `'transaction'` as each step begins. * @param client - The Dynamic client instance. * @returns The main transaction hash and, if an approval was sent, the approval transaction hash. * @not-instrumented */ export declare const evmExecuteSwapTransaction: ({ onStepChange, signingPayload, walletAccount }: ExecuteSwapTransactionParams, client: DynamicClient) => Promise; //# sourceMappingURL=evmExecuteSwapTransaction.d.ts.map