import { JsonRpcSigner } from '@ethersproject/providers' import { Wallet } from 'ethers' import { WebAuthnSigner } from '../signers' export interface AUTHAdapter { logout(): Promise connect(walletAddress?: string): Promise getAccount(): Promise getSigner(): JsonRpcSigner | Wallet | WebAuthnSigner getWalletAddress(): string readonly chainId: string } export type Constructor = new (...args: any[]) => T