import { Fees } from '../fees'; import { QuoteResult } from '../getQuotesForRoutes'; import { NativeTokenService } from '../nativeTokenService'; import { Coin, CoinAmount, Native, SecondaryFee, TransactionDetails } from '../../types'; export declare function getSwap(tokenIn: Coin, tokenOut: Coin, adjustedQuote: QuoteResult, fromAddress: string, slippage: number, deadline: number, routerContractAddress: string, secondaryFeesContractAddress: string, gasPrice: CoinAmount | null, secondaryFees: SecondaryFee[]): TransactionDetails; /** * adjustQuoteWithFees adjusts the amountIn of the quote to account for fees * EXACT_OUTPUT swaps will have the fees added to the amountIn if there are fees specified * EXACT_INPUT swaps will have amountIn set to the user-specified amount * @param ourQuote The quote from calling the Quoter contract * @param amountSpecified The user-specified amount for the swap (EXACT...) * @param fees The fees applied to the swap * @param tokenWrapper Helper class for the native token and associated ERC20 * @returns {QuoteResult} The adjusted quote */ export declare function adjustQuoteWithFees(ourQuote: QuoteResult, amountSpecified: CoinAmount, fees: Fees, nativeTokenService: NativeTokenService): QuoteResult;