import { AbstractConnector, AddEthereumChainParameter, ProviderConnectInfo, ProviderRpcError, WatchAssetParameters } from '@web3-wallet/abstract-connector'; export declare abstract class EthereumConnector extends AbstractConnector { protected initialized: boolean; protected updateChainId: (chainId: string | number) => void; protected updateAccounts(accounts: string[]): void; protected readonly lazyInitialize: () => Promise; protected switchChain: (chainId: number) => Promise; protected addChain: (addChainParameter: AddEthereumChainParameter) => Promise; protected addEventListeners(): void; protected removeEventListeners(): void; protected requestAccounts: () => Promise; protected requestChainId: () => Promise; protected onConnect: ({ chainId }: ProviderConnectInfo) => void; protected onDisconnect: (error?: ProviderRpcError) => void; protected onChainChanged: (chainId: number | string) => void; protected onAccountsChanged: (accounts: string[]) => void; connectEagerly(): Promise; /** * Initiates a connection. * * @param chainIdOrChainParameter - If defined, indicates the desired chain to connect to. If the user is * already connected to this chain, no additional steps will be taken. Otherwise, the user will be prompted to switch * to the chain, if one of two conditions is met: either they already have it added in their extension, or the * argument is of type AddEthereumChainParameter, in which case the user will be prompted to add the chain with the * specified parameters first, before being prompted to switch. */ activate(chainIdOrChainParameter?: number | AddEthereumChainParameter): Promise; /** {@inheritdoc AbstractConnector.deactivate} */ watchAsset({ address, symbol, decimals, image, }: WatchAssetParameters): Promise; } //# sourceMappingURL=EthereumConnector.d.ts.map