import BigNumber from 'bignumber.js'; import { PriceTokenAmount } from "../../../../../../common/tokens"; import { BlockchainName, EvmBlockchainName } from "../../../../../../core/blockchain/models/blockchain-name"; import { EvmEncodeConfig } from "../../../../../../core/blockchain/web3-pure/typed-web3-pure/evm-web3-pure/models/evm-encode-config"; import { ContractParams } from "../../../../../common/models/contract-params"; import { SwapTransactionOptions } from "../../../../../common/models/swap-transaction-options"; import { EvmCrossChainTrade } from "../../common/evm-cross-chain-trade/evm-cross-chain-trade"; import { GasData } from "../../common/evm-cross-chain-trade/models/gas-data"; import { BridgeType } from "../../common/models/bridge-type"; import { FeeInfo } from "../../common/models/fee-info"; import { GetContractParamsOptions } from "../../common/models/get-contract-params-options"; import { OnChainSubtype } from "../../common/models/on-chain-subtype"; import { RubicStep } from "../../common/models/rubicStep"; import { TradeInfo } from "../../common/models/trade-info"; import { LifiEvmCrossChainTradeConstructor } from '../models/lifi-cross-chain-trade-constructor'; /** * Calculated Celer cross-chain trade. */ export declare class LifiEvmCrossChainTrade extends EvmCrossChainTrade { readonly type: "lifi"; readonly isAggregator = true; readonly from: PriceTokenAmount; readonly to: PriceTokenAmount; readonly toTokenAmountMin: BigNumber; readonly gasData: GasData | null; private readonly route; private readonly providerGateway; readonly onChainSubtype: OnChainSubtype; readonly bridgeType: BridgeType; readonly priceImpact: number | null; readonly feeInfo: FeeInfo; private readonly slippage; private get fromBlockchain(); get fromContractAddress(): string; protected get methodName(): string; protected get amountToCheck(): string; constructor(crossChainTrade: LifiEvmCrossChainTradeConstructor, providerAddress: string, routePath: RubicStep[], useProxy: boolean); protected swapDirect(options?: SwapTransactionOptions): Promise; getContractParams(options: GetContractParamsOptions): Promise; protected getTransactionConfigAndAmount(receiverAddress?: string): Promise<{ config: EvmEncodeConfig; amount: string; }>; getTradeAmountRatio(fromUsd: BigNumber): BigNumber; getTradeInfo(): TradeInfo; }