import type { Account } from "../../wallets/interfaces/wallet.js"; import type { SendTransactionOptions } from "./send-transaction.js"; import type { WaitForReceiptOptions } from "./wait-for-tx-receipt.js"; export type SendBatchTransactionOptions = { transactions: SendTransactionOptions["transaction"][]; account: Account; }; /** * Sends a batch transaction using the provided options. * @param options - The options for sending the batch transaction. * @returns A promise that resolves to the options for waiting for the receipt of the first transaction in the batch. * @throws An error if the account is not connected, there are no transactions to send, or the account does not implement sendBatchTransaction. * @transaction * @example * ```ts * import { sendBatchTransaction } from "thirdweb"; * * const waitForReceiptOptions = await sendBatchTransaction({ * account, * transactions * }); * ``` */ export declare function sendBatchTransaction(options: SendBatchTransactionOptions): Promise; //# sourceMappingURL=send-batch-transaction.d.ts.map