import { BigNumber, PopulatedTransaction } from 'ethers'; import { PopulatedTx } from '../types'; export declare const stringifyPopulatedTransaction: (tx?: PopulatedTransaction | undefined) => PopulatedTx | undefined; /** * Sets the tx.value to the amount if the token is native, otherwise sets it to 0. * * @param tx - The transaction to adjust. * @param tokenAddr - The address of the token to check for being native. * @param amountNative - The amount to set if the token is native. * @param amountOther - The amount to set if the token is not native (optional, defaults to 0). * @returns The adjusted populated transaction. */ export declare const adjustValueIfNative: (tx: PopulatedTransaction, tokenAddr: string, amountNative: BigNumber, amountOther?: BigNumber) => PopulatedTransaction;