import { Attribute, ClaimTransaction, ContractTransaction, InvocationTransaction, NetworkType, TransactionReceipt, TransactionResult, Transfer, UserAccount, UserAccountID, UserAccountProvider } from '@neo-one/client-common'; import BigNumber from 'bignumber.js'; import { Observable } from 'rxjs'; import { Dapi, DapiError } from './Dapi'; import { ExecuteInvokeClaimOptions, ExecuteInvokeMethodOptions, ExecuteInvokeScriptOptions, Provider, UserAccountProviderBase } from './UserAccountProviderBase'; export declare class DapiUserAccountProvider extends UserAccountProviderBase implements UserAccountProvider { readonly currentUserAccount$: Observable; readonly userAccounts$: Observable>; readonly networks$: Observable>; private readonly dapi; private mutableInitPromise; private readonly currentAccountInternal$; private readonly userAccountsInternal$; private readonly networksInternal$; private readonly defaultNetworkInternal$; constructor({ dapi, provider, onError, }: { readonly dapi: Dapi; readonly provider: TProvider; readonly onError?: (error: DapiError) => void; }); getCurrentUserAccount(): UserAccount | undefined; getUserAccounts(): ReadonlyArray; getNetworks(): ReadonlyArray; protected executeTransfer(transfers: ReadonlyArray, from: UserAccountID, _attributes: readonly Attribute[], networkFee: BigNumber): Promise>; protected executeClaim(_from: UserAccountID, _attributes: readonly Attribute[], _networkFee: BigNumber): Promise>; protected executeInvokeScript(_options: ExecuteInvokeScriptOptions): Promise>; protected executeInvokeClaim(_options: ExecuteInvokeClaimOptions): Promise>; protected executeInvokeMethod({ invokeMethodOptions, from, attributes, inputs, outputs, rawInputs, rawOutputs, verify, reorderOutputs, onConfirm, }: ExecuteInvokeMethodOptions): Promise>; private convertDapiAttributes; private init; private initCheck; private updateUserAccount; private updateNetworks; private convertDapiInputs; private convertDapiOutputs; }