import type { AddEthereumChainParameter, Connect, EvmNetworksChainInfo, InstallObjects, Network, Wallet } from './rango.js'; import type { EvmBlockchainMeta } from 'rango-types'; export { isAddress as isEvmAddress } from 'ethers'; export declare function deepCopy(obj: any): any; export declare function switchOrAddNetworkForMetamaskCompatibleWallets(instance: any, network: Network, evmNetworksChainInfo: EvmNetworksChainInfo): Promise; export declare function timeout(forPromise: Promise, time: number): Promise; export declare const convertEvmBlockchainMetaToEvmChainInfo: (evmBlockchains: EvmBlockchainMeta[]) => { [key: string]: AddEthereumChainParameter; }; export declare const evmChainsToRpcMap: (evmNetworkChainInfo: EvmNetworksChainInfo) => { [k: string]: string; }; export declare const getSolanaAccounts: Connect; export declare function sortWalletsBasedOnState(wallets: Wallet[]): Wallet[]; export declare function detectInstallLink(install: InstallObjects | string): string; export declare function detectMobileScreens(): boolean; /** * Dynamically import a module and refine the error. * * @param importer - lazy import callback. * @returns A promise resolving to the imported module. */ export declare function dynamicImportWithRefinedError(importer: () => Promise): Promise; //# sourceMappingURL=helpers.d.ts.map