import { rpc, Transaction } from "@stellar/stellar-sdk"; import { StellarToken } from "../../core/types/stellar"; import { TokenWithBalance } from "../../core/types/tokens"; export declare class StellarRpcClient { private server; constructor(rpcUrl: string); /** * Returns the balance of a Stellar Contract Token. This is different from an Issued Token. * * With Contract Tokens, we need to call the .balance method on the token contract * and simulate the transaction to get the balance. */ getBalance(userAddress: string, tokenAddress: string, chainId: string): Promise; getAllBalances(userAddress: string, tokens: StellarToken[]): Promise>; /** * Resolves when the transaction is confirmed, or fails after a timeout. */ waitForTransaction(txHash: string, { interval, timeout }?: { interval?: number | undefined; timeout?: number | undefined; }): Promise; isAccountActivated(address: string): Promise; getAccount(address: string): Promise; sendTransaction(transaction: Transaction): Promise; prepareTransaction(transaction: Transaction): Promise, import("@stellar/stellar-base").Operation[]>>; }