export interface UserAccountProvider {
readonly currentUserAccount$: Observable<UserAccount | undefined>;
readonly userAccounts$: Observable<readonly UserAccount[]>;
readonly networks$: Observable<readonly NetworkType[]>;
readonly getCurrentUserAccount: () => UserAccount | undefined;
readonly getUserAccounts: () => readonly UserAccount[];
readonly getNetworks: () => readonly NetworkType[];
readonly selectUserAccount: (id?: UserAccountID) => Promise<void>;
readonly deleteUserAccount?: (id: UserAccountID) => Promise<void>;
readonly updateUserAccountName?: (options: UpdateAccountNameOptions) => Promise<void>;
readonly getBlockCount: (network: NetworkType) => Promise<number>;
readonly getAccount: (network: NetworkType, address: AddressString) => Promise<Account>;
readonly iterBlocks: (network: NetworkType, options?: IterOptions) => AsyncIterable<Block>;
readonly iterActionsRaw?: (network: NetworkType, options?: IterOptions) => AsyncIterable<RawAction>;
readonly transfer: (transfers: readonly Transfer[], options?: TransactionOptions) => Promise<TransactionResult>;
readonly claim: (options?: TransactionOptions) => Promise<TransactionResult>;
readonly invoke: (
contract: AddressString,
method: string,
params: ReadonlyArray<ScriptBuilderParam | undefined>,
paramsZipped: ReadonlyArray<readonly [string, Param | undefined]>,
verify: boolean,
options?: TransactionOptions,
sourceMaps?: SourceMaps,
) => Promise<TransactionResult<RawInvokeReceipt>>;
readonly call: (
network: NetworkType,
contract: AddressString,
method: string,
params: ReadonlyArray<ScriptBuilderParam | undefined>,
) => Promise<RawCallReceipt>;
}
() => UserAccount | undefined
() => readonly UserAccount[]
() => readonly NetworkType[]
(id?: UserAccountID) => Promise<void>
(id: UserAccountID) => Promise<void>
(options: UpdateAccountNameOptions) => Promise<void>
(network: NetworkType) => Promise<number>
(network: NetworkType, address: AddressString) => Promise<Account>
(network: NetworkType, options?: IterOptions) => AsyncIterable<Block>
(network: NetworkType, options?: IterOptions) => AsyncIterable<RawAction>
(transfers: readonly Transfer[], options?: TransactionOptions) => Promise<TransactionResult>
(options?: TransactionOptions) => Promise<TransactionResult>
(contract: AddressString, method: string, params: ReadonlyArray<ScriptBuilderParam | undefined>, paramsZipped: ReadonlyArray<readonly [string, Param | undefined]>, verify: boolean, options?: TransactionOptions, sourceMaps?: SourceMaps) => Promise<TransactionResult<RawInvokeReceipt>>
(network: NetworkType, contract: AddressString, method: string, params: ReadonlyArray<ScriptBuilderParam | undefined>) => Promise<RawCallReceipt>