createConnector( options: ConnectorOptions,): { provider: EIP1193Provider; connect( options?: { network?: Network }, ): Promise<{ accounts: string[]; network: undefined | Network }>; disconnect(): Promise<void>; getAccounts(): Promise<string[]>; getChainId(): Promise<string>; getNetwork(): Promise<undefined | Network>; permissions(): Promise<{ snap: boolean; wallet: boolean }>; setup(): { provider: EIP1193Provider; setup(): ...; connect(options?: { network?: Network | undefined; }): Promise<{ accounts: string[]; network: Network | undefined; }>; ... 5 more ...; permissions(): Promise<...>; }
; switchChain(network?: undefined | Network): Promise<Network>;}
Create a connector for the EIP-1193 provider.