import * as types from './types'; import { Result } from '../utils/result'; export declare const isInitialized: () => boolean; export declare const setChains: (data: [types.EvmChainConfig]) => void; export declare const isMetaMaskInstalled: () => boolean; export declare const connectMetamask: () => Promise>; export declare const getMetamaskAccounts: () => Promise>; export declare const getCurrentMetamaskAccount: () => Promise; export declare const censorAccountAddress: (accountAddress: string, padding: number, asteriskCount: number) => string; export declare const getTokenBalance: (chainId: string, tokenName: string, accountAddress: string) => Promise>; export declare const getSupportedChains: () => [types.EvmChainConfig]; export declare const getFallbackChain: () => types.EvmChainConfig; export declare const getFallbackChainId: () => string; export declare const getWalletSelectedChainId: () => string; export declare const getChainById: (chainId: string) => types.EvmChainConfig | undefined; export declare const getChainCount: () => number; export declare const registerChainChanged: (listener: types.ChainListener) => types.ChainListener | undefined; export declare const registerAccountsChanged: (listener: types.AccountListener) => types.AccountListener | undefined; export declare const unregisterChainChanged: (listener: types.ChainListener) => void; export declare const unregisterAccountsChanged: (listener: types.AccountListener) => void; export declare const requestSwitchChain: (chainId: string) => Promise>; export declare const requestAddChain: (params: types.EvmChainConfig) => Promise>; export declare const requestSwitchOrAddChain: (targetChainId: string) => Promise>; export declare const sendTransaction: (destinationAddress: string, amount: string, tokenDetail: types.EvmTokenConfig) => Promise>;