type Wallet = {
autoConnect: (options?: any) => Promise<Account>; connect: (options?: any) => Promise<Account>; disconnect: () => Promise<void>;
events?: {
};
switchChain?: (newChainId: Chain) => Promise<void>; getAccount: () => undefined | Account; getChain: () =>
| undefined
| {
readonly blockExplorers?: Array<{
apiUrl?: string;
name: string;
url: string;
}>;
readonly id: number;
readonly name?: string;
readonly nativeCurrency?: {
decimals?: number;
name?: string;
symbol?: string;
};
readonly rpc: string;
readonly testnet?: true;
};
};