import type { Device, ChainId, Chain, WalletInit, WalletModule, ChainWithDecimalId, DeviceNotBrowser } from '@web3-onboard/common'; import type { ChainStyle, ConnectedChain, NotifyEventStyles } from './types.js'; import type { Chain as ViemChain } from 'viem'; export declare function getDevice(): Device | DeviceNotBrowser; export declare const notNullish: (value: T | null | undefined) => value is T; export declare function isSVG(str: string): boolean; export declare function shortenAddress(add: string): string; export declare function shortenDomain(domain: string): string; export declare function copyWalletAddress(text: string): Promise; export declare const toHexString: (val: number | string) => string; export declare function chainIdToHex(chains: (Chain | ChainWithDecimalId)[]): Chain[]; export declare function gweiToWeiHex(gwei: number): string; export declare const chainIdToLabel: Record; export declare function validEnsChain(chainId: ChainId): string | null; export declare const chainIdToViemENSImport: (chainId: string) => Promise; export declare const networkToChainId: Record; export declare const chainStyles: Record; export declare const unrecognizedChainStyle: { icon: string; color: string; }; export declare function getDefaultChainStyles(chainId: string): ChainStyle | undefined; export declare function connectedToValidAppChain(walletConnectedChain: ConnectedChain, chains: Chain[]): boolean; export declare function initializeWalletModules(modules: WalletInit[], device: Device): WalletModule[]; export declare const defaultNotifyEventStyles: Record; export declare const wait: (time: number) => Promise; export declare function getLocalStore(key: string): string | null; export declare function setLocalStore(key: string, value: string): void; export declare function delLocalStore(key: string): void;