import type { CanEagerConnect, CanSwitchNetwork, Network, Providers, Subscribe, SwitchNetwork, WalletType } from './rango.js'; import type { BlockchainMeta } from 'rango-types'; export declare function getEvmAccounts(instance: any): Promise<{ accounts: string[]; chainId: string; }>; export declare const subscribeToEvm: Subscribe; export declare const canEagerlyConnectToEvm: CanEagerConnect; export declare const switchNetworkForEvm: SwitchNetwork; export declare const canSwitchNetworkToEvm: CanSwitchNetwork; export declare function evmNetworkNames(meta: BlockchainMeta[]): string[]; export declare function getEthChainsInstance(network: Network | null, meta: BlockchainMeta[]): Network | null; export declare function chooseInstance(instances: null | Map, meta: BlockchainMeta[], network?: Network | null): any; export declare function getNetworkInstance(provider: any, network: Network): any; /** * On our implementation for `wallets` package, We keep the instance in 2 ways * If it's a single chain wallet, it returns the instance directly, * If it's a multichain wallet, it returns a `Map` of instances. * This function will get the `ETHEREUM` instance in both types. */ export declare function getEvmProvider(providers: Providers, type: WalletType): any; //# sourceMappingURL=providers.d.ts.map