import { BaseTransportOptions, Params, RequestArguments, Transport } from '@neongd/json-rpc'; import { BroadcastTransactionParams, BroadcastTransactionResult, GetApplicationLogParams, GetApplicationLogResult, GetBlockCountParams, GetBlockCountResult, GetBlockParams, GetBlockResult, GetNep17BalancesParams, GetNep17BalancesResult, GetNetworksResult, GetProviderResult, GetTransactionParams, GetTransactionResult, InvokeReadMultiParams, InvokeReadMultiResult, InvokeReadParams, InvokeReadResult } from '../dapis/Dapi'; import { Expand } from '../utils/typeUtils'; import { AbstractProvider } from './AbstractProvider'; export type NetworkConfig = { name: string; nodeUrl: string; magicNumber: number; }; export type NetworkProviderOptions = Expand; export declare class NetworkProvider extends AbstractProvider { protected networkConfigs: NetworkConfig[]; protected defaultNetwork: string; protected options: NetworkProviderOptions; protected transports: Partial>; constructor(networkConfigs: NetworkConfig[], defaultNetwork: string, options?: NetworkProviderOptions); request(args: RequestArguments

): Promise; close(): Promise; changeNetwork(network: string): void; protected getNetworkConfig(network?: string, rejectNotDefault?: boolean): NetworkConfig; protected getTransport(network?: string, rejectNotDefault?: boolean): Transport; protected handleGetProvider(): Promise; protected handleGetNetworks(): Promise; protected handleGetBlockCount(params: GetBlockCountParams): Promise; protected handleGetBlock(params: GetBlockParams): Promise; protected handleGetTransaction(params: GetTransactionParams): Promise; protected handleGetApplicationLog(params: GetApplicationLogParams): Promise; protected handleGetNep17Balances(params: GetNep17BalancesParams): Promise; protected handleInvokeRead(params: InvokeReadParams): Promise; protected handleInvokeReadMulti(params: InvokeReadMultiParams): Promise; protected handleBroadcastTransaction(params: BroadcastTransactionParams): Promise; protected convertRemoteRpcError(error: Error): never; }