type AdapterWalletOptions = { adaptedAccount: Account; chain: Chain; client: ThirdwebClient; onDisconnect: () => Promise<void> | void; switchChain: (chain: Chain) => Promise<void> | void;};
type adaptedAccount = Account;
type chain = Chain;
type client = ThirdwebClient;
function onDisconnect(): Promise<void> | void;
let returnType: Promise<void> | void;
function switchChain(chain: Chain): Promise<void> | void;
let chain: Readonly<ChainOptions & { rpc: string }>;