import BigNumber from 'bignumber.js'; import { PriceToken, PriceTokenAmount } from "../../../../../common/tokens"; import { 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 { 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 { EvmOnChainTrade } from "../../../../on-chain/calculation-manager/providers/common/on-chain-trade/evm-on-chain-trade/evm-on-chain-trade"; import { StargateCrossChainSupportedBlockchain } from './constants/stargate-cross-chain-supported-blockchain'; export declare class StargateCrossChainTrade extends EvmCrossChainTrade { protected get methodName(): string; readonly feeInfo: FeeInfo; readonly type: "stargate"; readonly isAggregator = false; readonly from: PriceTokenAmount; readonly to: PriceTokenAmount; readonly slippageTolerance: number; readonly gasData: GasData; readonly priceImpact: number | null; readonly toTokenAmountMin: BigNumber; readonly onChainSubtype: OnChainSubtype; readonly bridgeType: "stargate"; get fromBlockchain(): StargateCrossChainSupportedBlockchain; protected get fromContractAddress(): string; private readonly onChainTrade; private readonly dstChainTrade; private readonly cryptoFeeToken; constructor(crossChainTrade: { from: PriceTokenAmount; to: PriceTokenAmount; slippageTolerance: number; priceImpact: number | null; gasData: GasData | null; feeInfo: FeeInfo; srcChainTrade: EvmOnChainTrade | null; dstChainTrade: EvmOnChainTrade | null; cryptoFeeToken: PriceToken | null; }, providerAddress: string, routePath: RubicStep[], useProxy: boolean); protected swapDirect(options?: SwapTransactionOptions): Promise; protected getTransactionConfigAndAmount(receiverAddress?: string): Promise<{ config: EvmEncodeConfig; amount: string; }>; static getLayerZeroSwapData(from: PriceTokenAmount, to: PriceTokenAmount, tokenAmountMin?: string, receiverAddress?: string, dstData?: string): Promise; getContractParams(options: GetContractParamsOptions): Promise; getTradeAmountRatio(fromUsd: BigNumber): BigNumber; getTradeInfo(): TradeInfo; private getProviderData; }