import BN from 'bignumber.js'; import { ActionContext } from '../../store'; import { SwapHistoryItem } from '../../store/types'; import { SwapProvider } from '../SwapProvider'; import { EstimateFeeRequest, EstimateFeeResponse, NextSwapActionRequest, QuoteRequest, SwapRequest, SwapStatus } from '../types'; export interface JupiterSwapHistoryItem extends SwapHistoryItem { info: object; swapTxHash: string; } declare class JupiterSwapProvider extends SwapProvider { protected _getStatuses(): Record; protected _txTypes(): Record; protected _fromTxType(): string | null; protected _toTxType(): string | null; protected _totalSteps(): number; protected _timelineDiagramSteps(): string[]; getSupportedPairs(): Promise; getQuote(quoteRequest: QuoteRequest): Promise<{ from: string; to: string; fromAmount: string; toAmount: any; info: any; } | null>; newSwap(quoteInput: SwapRequest): Promise<{ status: string; swapTx: import("@chainify/types").Transaction | undefined; swapTxHash: string | undefined; id: string; fee: number; slippage: number; }>; estimateFees({ txType, feePrices, asset, network, }: EstimateFeeRequest): Promise; getExtraAmountToExtractFromBalance(): number; performNextSwapAction(_store: ActionContext, { network, walletId, swap }: NextSwapActionRequest): Promise | undefined>; getMin(_quoteRequest: QuoteRequest): Promise; waitForSwapConfirmations({ swap, network, walletId }: NextSwapActionRequest): Promise<{ endTime: number; status: string; } | undefined>; private _getTransactions; } export { JupiterSwapProvider };