import Web3 from 'web3'; import { BehaviorSubject } from 'rxjs'; import { WalletType, ConnectResult, WalletConfigs, ConnectionStatus } from './types'; export * from './types'; declare type InfuraNetwork = 'rinkeby' | 'kovan' | 'mainnet' | 'ropsten' | 'goerli'; interface Options { httpRpcUrl?: string; wsRpcUrl?: string; infuraAccessToken?: string; /** default: 'mainnet' */ network?: InfuraNetwork; /** default: true */ autoConnectToPreviousWallet?: boolean; walletConfigs: WalletConfigs; } export declare class Web3WalletsManager { web3: Web3; txWeb3: BehaviorSubject; account: BehaviorSubject; wallet: BehaviorSubject<"wallet-connect" | "bitski" | "metamask" | "fortmatic" | null>; status: BehaviorSubject; private storage; private options; private connectionDetails; private accountSubscription; constructor(options: Options); connect(wallet: WalletType): Promise; disconnect(): Promise; getAccount(): Promise; private resetState; private checkOptions; private getWeb3; }