import { MarketContractFactory } from './market.js'; import type { NearServiceClient } from './near.client.js'; import { NEP141ContractFactory } from './nep141.js'; import { NEP171ContractFactory } from './nep171.js'; import { NearBalance } from './types.js'; export declare class NearBalanceHelper { readonly nearClient: NearServiceClient; constructor(nearClient: NearServiceClient); getNEP141ContractFactory(): NEP141ContractFactory; getNEP171ContractFactory(): NEP171ContractFactory; getMarketContractFactory(): MarketContractFactory; /** * Get bridged token (rainbow bridge) balance for the given account * @param chainId - Chain id * @param erc20SymbolOrAddress - ERC20 token symbol or address * @param accountId - Account id * @param nearTokenFactoryAccount - Rainbow bridge NEAR token factory account * @returns */ getBridgedTokenBalance(erc20SymbolOrAddress: string, accountId: string, nearTokenFactoryAccount?: string): Promise; /** * Get FT balance for the given account * @param chainId - Chain id * @param ftTokenContract - FT token contract * @param accountId - Account id * @returns */ getFTBalance(ftTokenContract: string, accountId: string): Promise; /** * Get NFT balance for the given account * @param nftContract - NFT token contract * @param accountId - Account id * @returns */ getNFTBalance(nftContract: string, accountId: string): Promise; /** * Get NEAR balance for the given account * @param chainId - Chain id * @param accountId - Account id * @returns */ getBalance(accountId: string): Promise; /** * Get balances for a given account on NEAR * @param accountId - NEAR account id * @param spec - Spec for what balances to be checked * @returns */ getBalances(accountId: string, spec: Pick[]): Promise; }