import type { AnchorProvider } from "@coral-xyz/anchor"; import type { CreateVersionedTransactionArgs } from "./createVersionedTransaction.js"; import type { TransactionEnvelope } from "./transactionEnvelope.js"; /** * Sends and confirms a transaction using an AnchorProvider. * @param provider * @param txs * @param signers * @returns */ export declare const sendAndConfirmTransaction: (provider: AnchorProvider, tx: TransactionEnvelope, opts?: Omit) => Promise; export declare const sendAndConfirmTransactionWithRetry: (provider: AnchorProvider, tx: TransactionEnvelope, { retryNum, timeoutMilliseconds, ...opts }?: Omit & { retryNum?: number; timeoutMilliseconds?: number; }) => Promise; export declare function retryTransaction(func: (attempt: number) => Promise, handleError: (err: Error) => boolean, retries?: number): Promise; export declare function errorIsExceededCU(err: Error): boolean; //# sourceMappingURL=sendAndConfirmTransaction.d.ts.map