import { ethers } from 'ethers'; import { BaseWallet } from '../BaseWallet'; import { IWallet, IWalletInfo } from '../IWallet'; import { ISoulDragonMintWalletConnectResp } from '../../../events/emitter'; declare class MetamaskNervosWallet extends BaseWallet implements IWallet { web3Provider?: ethers.providers.Web3Provider; currentWalletInfo?: IWalletInfo; originAddress?: string; connect(reConnect?: boolean): Promise; nervosConnectOnly(): Promise; sign(reConnect?: boolean): Promise<{ signature: string; msg: string; address: string | undefined; }>; gameEthSign(msg: string, address?: string): Promise<{ signature: string | undefined; walletInfo: IWalletInfo; }>; unConnect(): Promise; private openConnectMetamask; private switchToCurrentDeployedChain; private bindSwitchReload; } export declare const MetamaskNervosWalletInst: MetamaskNervosWallet; export {};