import { Balance } from './interfaces/Balance'; import { Platform } from './interfaces/Platform'; import { Organization } from './interfaces/Organization'; import { Nexus } from './interfaces/Nexus'; import { Account } from './interfaces/Account'; import { Leaderboard } from './interfaces/Leaderboard'; import { Chain } from './interfaces/Chain'; import { Contract } from './interfaces/Contract'; import { Event } from './interfaces/Event'; import { TransactionData } from './interfaces/TransactionData'; import { AccountTransactions } from './interfaces/AccountTransactions'; import { Paginated } from './interfaces/Paginated'; import { Block } from './interfaces/Block'; import { Token } from './interfaces/Token'; import { TokenData } from './interfaces/TokenData'; import { Auction } from './interfaces/Auction'; import { Script } from './interfaces/Script'; import { Archive } from './interfaces/Archive'; import { ABIContract } from './interfaces/ABIContract'; import { Receipt } from './interfaces/Receipt'; import { Peer } from './interfaces/Peer'; import { Validator } from './interfaces/Validator'; import { Swap } from './interfaces/Swap'; import { NFT } from './interfaces/NFT'; export declare class PhantasmaAPI { host: string; rpcName: string; nexus: string; availableHosts: any[]; pingAsync(host: string): Promise; constructor(defHost: string, peersUrlJson: string, nexus: string); JSONRPC(method: string, params: Array): Promise; setRpcHost(rpcHost: string): void; setRpcByName(rpcName: string): void; setNexus(nexus: string): void; updateRpc(): void; convertDecimals(amount: number, decimals: number): number; getAccount(account: string, extended?: boolean): Promise; getAccounts(accounts: string[], extended?: boolean): Promise; lookUpName(name: string): Promise; getAddressesBySymbol(symbol: string, extended?: boolean): Promise; getBlockHeight(chainInput: string): Promise; getBlockTransactionCountByHash(blockHash: string): Promise; getBlockByHash(blockHash: string): Promise; getRawBlockByHash(blockHash: string): Promise; getBlockByHeight(chainInput: string, height: number): Promise; getLatestBlock(chainInput: string): Promise; getRawBlockByHeight(chainInput: string, height: number): Promise; getRawLatestBlock(chainInput: string): Promise; getTransactionByBlockHashAndIndex(blockHash: string, index: number): Promise; getAddressTransactions(account: string, page: number, pageSize: number): Promise>; getAddressTransactionCount(account: string, chainInput: string): Promise; sendRawTransaction(txData: string): Promise; invokeRawScript(chainInput: string, scriptData: string): Promise