import BigNumber from '@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber'; import { Amount } from '@airgap/module-kit'; import { CosmosAccount, CosmosDelegation, CosmosNodeInfo, CosmosPagedSendTxsResponse, CosmosRewardDetails, CosmosUnbondingDelegation, CosmosValidator } from '../types/rpc'; export declare class CosmosNodeClient { readonly baseURL: string; useCORSProxy: boolean; constructor(baseURL: string, useCORSProxy?: boolean); fetchBalance(address: string, denom: Units): Promise<{ total: Amount; available: Amount; }>; fetchSendTransactionsFor(address: string, limit: number, offset: number, isSender?: boolean): Promise; fetchNodeInfo(): Promise; broadcastSignedTransaction(tx_bytes: string): Promise; fetchAccount(address: string): Promise; fetchDelegations(address: string, filterEmpty?: boolean): Promise; fetchTotalDelegatedAmount(address: string, denom: Units): Promise>; fetchValidator(address: string): Promise; fetchValidators(): Promise; fetchSelfDelegation(validatorAddress: string): Promise; fetchUnbondingDelegations(delegatorAddress: string): Promise; fetchTotalUnbondingAmount(address: string, denom: Units): Promise>; fetchRewardDetails(delegatorAddress: string): Promise; fetchTotalReward(delegatorAddress: string, denom: Units): Promise>; fetchRewardForDelegation(delegatorAddress: string, validatorAddress: string, denom: Units): Promise>; withdrawAllDelegationRewards(delegatorAddress: string, chainID: string, accountNumber: string, sequence: string, gas: BigNumber, fee: BigNumber, memo: string, simulate?: boolean): Promise; withdrawDelegationRewards(delegatorAddress: string, validatorAdress: string, chainID: string, accountNumber: string, sequence: string, gas: BigNumber, fee: BigNumber, memo: string, simulate?: boolean): Promise; private url; simulateTx(txBytesBase64: string): Promise<{ gas_used: number; }>; }