import { Account, AccountId, ChainInfo, DatasetInfo } from '../core/network'; import { Transaction, TxReceipt } from '../core/tx'; import { Api } from './api'; import { ClientConfig } from './config'; import { GenericResponse } from '../core/resreq'; import { TxInfoReceipt } from '../core/txQuery'; import { CallClientResponse, Message } from '../core/message'; import { BroadcastSyncType, BytesEncodingStatus, EnvironmentType } from '../core/enums'; import { KGWAuthInfo, AuthSuccess, AuthenticatedBody, LogoutResponse } from '../core/auth'; import { HealthResponse, SelectQueryRequest } from '../core/jsonrpc'; import { HexString } from '../utils/types'; export default class Client extends Api { private unconfirmedNonce; private jsonRpcId; constructor(opts: ClientConfig); protected getAuthenticateClient(): Promise>; protected postAuthenticateClient(authBody: AuthenticatedBody): Promise>>; protected logoutClient(identifier?: Uint8Array): Promise>>; protected getAccountClient(accountId: AccountId): Promise>; protected listDatabasesClient(owner?: Uint8Array): Promise>; protected estimateCostClient(tx: Transaction): Promise>; protected broadcastClient(tx: Transaction, broadcastSync?: BroadcastSyncType): Promise>; protected pingClient(): Promise>; protected chainInfoClient(): Promise>; protected healthModeCheckClient(): Promise>; protected challengeClient(): Promise>; protected selectQueryClient(query: SelectQueryRequest): Promise>; protected txInfoClient(tx_hash: string): Promise>; protected callClient(msg: Message): Promise>; private buildJsonRpcRequest; private checkAuthError; private parseQueryResponse; }