import { PriceTokenAmount } from "../../../../../../common/tokens"; import { BlockchainName } from "../../../../../../core/blockchain/models/blockchain-name"; import { FeeInfo } from "../../common/models/fee-info"; import { OrbiterQuoteConfig } from '../models/orbiter-api-quote-types'; import { OrbiterGetQuoteConfigParams } from '../models/orbiter-utils-types'; export declare class OrbiterUtils { static compareChainId(orbiterChainId: string, blockchainName: BlockchainName): boolean; static getQuoteConfig({ configs, from, to }: OrbiterGetQuoteConfigParams): OrbiterQuoteConfig; /** * * @param code Orbiter identification code of chain(9001, 9002 etc), equals quoteConfig.vc * @param receiverAddress * @returns data argument for orbiter-abi methods as hex string */ static getHexDataArg(code: string, receiverAddress: string): string; static getAmountWithVcCode(fromWeiAmount: string, config: OrbiterQuoteConfig): string; /** * @example for native transfer * 1000000 - 2%(rubicPercentFee) -> convertToCode -> 998015 * amountJore - 998015 + 2% * When Jora subtracts amountJore - 2%, he will get value with orbiter-vc-code */ static getFromAmountWithoutFeeWithCode(from: PriceTokenAmount, feeInfo: FeeInfo, quoteConfig: OrbiterQuoteConfig): string; }