import { IDexHelper } from '../../dex-helper'; import { Token } from '../../types'; import { JarvisSwapFunctions, PoolConfig, PoolState } from './types'; import { Interface } from '@ethersproject/abi'; import { Contract } from 'web3-eth-contract'; export declare const THIRTY_MINUTES: number; export declare function getOnChainState(dexHelper: IDexHelper, poolConfigs: PoolConfig[], blockNumber: number | 'latest', { priceFeedContract, poolInterface, }: { priceFeedContract: Contract; poolInterface: Interface; }): Promise; export declare function getJarvisPoolFromTokens(srcToken: Token, destToken: Token, poolConfigs: PoolConfig[]): PoolConfig | null; export declare function convertToNewDecimals(amount: bigint, currentDecimal: number, desireDecimal: number): bigint; export declare function getJarvisSwapFunction(srcToken: Token, pool: PoolConfig): JarvisSwapFunctions;