import { BigNumber } from 'ethers'; import { Route } from '@lifi/sdk'; import { ObjectSubject } from '../common'; import { AccountBalances, AdvanceRoutesLiFi, Token, Quote, TransactionStatus, ExchangeOffer, NftList, PaginatedTokens, RateData, StepTransactions, TokenList, TokenListToken, Transaction, Transactions } from './classes'; import { BridgingProvider } from './constants'; export declare class DataModule { readonly apiKey$: ObjectSubject; private apiService; constructor(apiKey?: string); get currentApi(): string; switchCurrentApi(currentApi: string): string; getAccountBalances(account: string, tokens: string[], chainId: number, provider?: string): Promise; getTransaction(hash: string, chainId: number): Promise; getTransactions(account: string, chainId: number, page?: number, limit?: number): Promise; getNftList(account: string, chainId: number): Promise; getAdvanceRoutesLiFi(fromTokenAddress: string, toTokenAddress: string, fromChainId: number, toChainId: number, fromAmount: BigNumber, toAddress?: string, allowSwitchChain?: boolean, fromAddress?: string, showZeroUsd?: boolean): Promise; getStepTransaction(selectedRoute: Route, account: string): Promise; getExchangeSupportedAssets(page: number, limit: number, chainId: number, account: string): Promise; getExchangeOffers(fromTokenAddress: string, toTokenAddress: string, fromAmount: BigNumber, fromChainId: number, fromAddress: string, toAddress?: string, showZeroUsd?: boolean): Promise; getTokenLists(chainId: number): Promise; getTokenListTokens(chainId: number, name?: string): Promise; fetchExchangeRates(tokens: string[], chainId: number): Promise; getSupportedAssets(chainId?: number, provider?: BridgingProvider): Promise; getQuotes(fromAddress: string, toAddress: string, fromChainId: number, toChainId: number, fromToken: string, fromAmount: BigNumber, slippage: number, provider?: BridgingProvider): Promise; getTransactionStatus(fromChainId: number, toChainId: number, transactionHash: string, provider?: BridgingProvider): Promise; }