import BigNumber from 'bignumber.js'; import { PriceTokenAmount } from "../../../../../../common/tokens"; import { TronBlockchainName } from "../../../../../../core/blockchain/models/blockchain-name"; import { TronTransactionConfig } from "../../../../../../core/blockchain/web3-pure/typed-web3-pure/tron-web3-pure/models/tron-transaction-config"; import { GasData } from "../../common/evm-cross-chain-trade/models/gas-data"; import { FeeInfo } from "../../common/models/fee-info"; import { OnChainSubtype } from "../../common/models/on-chain-subtype"; import { RubicStep } from "../../common/models/rubicStep"; import { TradeInfo } from "../../common/models/trade-info"; import { TronCrossChainTrade } from "../../common/tron-cross-chain-trade/tron-cross-chain-trade"; import { SymbiosisTronCrossChainTradeConstructor } from "../models/symbiosis-cross-chain-trade-constructor"; /** * Calculated Symbiosis cross-chain trade. */ export declare class SymbiosisTronCcrTrade extends TronCrossChainTrade { private readonly swappingParams; readonly type: "symbiosis"; readonly isAggregator = false; readonly onChainSubtype: OnChainSubtype; readonly bridgeType: "symbiosis"; readonly from: PriceTokenAmount; readonly to: PriceTokenAmount; readonly toTokenAmountMin: BigNumber; /** @internal */ readonly transitAmount: BigNumber; readonly feeInfo: FeeInfo; /** * Overall price impact, fetched from symbiosis api. */ readonly priceImpact: number | null; readonly gasData: GasData | null; private readonly slippage; private readonly contractAddresses; private get fromBlockchain(); protected get fromContractAddress(): string; protected get methodName(): string; constructor(crossChainTrade: SymbiosisTronCrossChainTradeConstructor, providerAddress: string, routePath: RubicStep[], useProxy: boolean); getTradeAmountRatio(fromUsd: BigNumber): BigNumber; getTradeInfo(): TradeInfo; protected getTransactionConfigAndAmount(receiverAddress?: string): Promise<{ config: TronTransactionConfig; amount: string; }>; }