import { EvmTokenConfig, WalletConfig } from '../service/types'; import { Result } from '../utils/result'; import ConnectedWallet, { Chain, ChainChangedSubscriber, PaymentToken, PaymentTokenAndBalance, SendTransactionResult, Unsubscribe } from './ConnectedWallet'; export declare class EvmToken extends PaymentToken { config: EvmTokenConfig; constructor(displayName: string, config: EvmTokenConfig); } export default class ConnectedMetamaskWallet extends ConnectedWallet { private accountListener; constructor(config: WalletConfig); getConfig(): WalletConfig; getWalletSelectedChainId(): string | undefined; getSelectedChain(): Chain | undefined; enableUpdateChain(): boolean; subscribeChainChanged(subscriber: ChainChangedSubscriber): Unsubscribe | undefined; getTokenBalancesOfChain(chain: Chain): Promise>; getSupportedChains(): Chain[]; switchChain(chain: Chain): Promise>; sendTransaction(destinationAddress: string, amount: string, token: PaymentToken): Promise>; clear(): void; private setCurrentAccountAddress; private registerAccountChanged; private mapChain; }