import { BigNumber, ethers } from "ethers"; import { ChainId } from "../utils/ChainTypes"; import { TransactionsResponse } from "../utils/AarcTypes"; export declare const calculateTotalGasNeeded: (provider: ethers.providers.JsonRpcProvider, transactions: TransactionsResponse[], chainId: ChainId) => Promise<{ validTransactions: TransactionsResponse[]; totalGasCost: BigNumber; }>; export declare const estimateGasForTransaction: (provider: ethers.providers.JsonRpcProvider, transaction: ethers.providers.TransactionRequest) => Promise;