import { BigNumber } from "ethers/utils"; import WalletConnect from "@walletconnect/browser"; import { BaseWallet } from "."; export interface WalletConnectWalletOptions { bridge?: string; } export interface txParams { from?: string; to: string; data?: string; value?: number | string | BigNumber; gasPrice?: number | BigNumber; gasLimit?: number; } export default class WalletConnectWallet extends BaseWallet { connector: WalletConnect; private _bridge; constructor(opts: { bridge: string; }); static LABEL: string; static TYPE: string; NeedUnlockWalletError: Error; NotSupportedError: Error; signMessage(message: string): Promise | null; signPersonalMessage(message: string): Promise; sendTransaction(txParams: txParams): Promise; signTransaction(txParams: txParams): Promise; sendCustomRequest(method: string, params: any): Promise; getAddresses(): Promise; loadNetworkId(): Promise; isLocked(): boolean; type(): string; id(): string; isSupported(): boolean; name(): string; }