import type { Hex } from '@xylabs/sdk-js'; import type { EthWalletApi } from '../types/index.ts'; import type { EthWalletConnectorBase } from './EthWalletConnectorBase.ts'; /** * A wrapper for the Ethereum wallet connection that adds functionality that is not * supported by the provider interface directly. * * Metamask in particular supports many `wallet_*` rpc calls have their own EIP-* proposal. * See - https://docs.metamask.io/wallet/reference/json-rpc-methods/ * * @param connector An instance of EthWalletConnectorBase */ export declare class EthWalletApiInstance implements EthWalletApi { private _ethWalletConnector; constructor(ethWalletConnector: EthWalletConnectorBase); private get eip1193Provider(); private get ethWalletConnector(); switchEthereumChain(chainId: Hex): Promise; } //# sourceMappingURL=EthWalletApiInstance.d.ts.map