import { type Observable } from 'rxjs'; import type { Uns } from '@web3-onboard/unstoppable-resolution'; import { type PublicClient } from 'viem'; import type { Address, ChainId, EIP1193Provider, ProviderAccounts, Chain } from '@web3-onboard/common'; import type { Balances, Ens, WalletPermission, WalletState } from './types.js'; export declare const viemProviders: { [key: string]: PublicClient; }; export declare function requestAccounts(provider: EIP1193Provider): Promise; export declare function selectAccounts(provider: EIP1193Provider): Promise; export declare function getChainId(provider: EIP1193Provider): Promise; export declare function listenAccountsChanged(args: { provider: EIP1193Provider; disconnected$: Observable; }): Observable; export declare function listenChainChanged(args: { provider: EIP1193Provider; disconnected$: Observable; }): Observable; export declare function trackWallet(provider: EIP1193Provider, label: WalletState['label']): void; export declare function getEns(address: Address, chain: Chain): Promise; export declare function getUns(address: Address, chain: Chain): Promise; export declare function getBalance(address: Address, chain: Chain): Promise; export declare function switchChain(provider: EIP1193Provider, chainId: ChainId): Promise; export declare function addNewChain(provider: EIP1193Provider, chain: Chain): Promise; export declare function updateChainRPC(provider: EIP1193Provider, chain: Chain, rpcUrl: string): Promise; export declare function getPermissions(provider: EIP1193Provider): Promise; export declare function syncWalletConnectedAccounts(label: WalletState['label']): Promise; export declare const addOrSwitchChain: (provider: EIP1193Provider, chain: Chain) => Promise; export declare const wagmiProviderMethods: () => { addOrSwitchChain: (provider: EIP1193Provider, chain: Chain) => Promise; getChainId: (provider: EIP1193Provider) => Promise; requestAccounts: (provider: EIP1193Provider) => Promise; switchChain: (provider: EIP1193Provider, chainId: ChainId) => Promise; };