import { Chain } from 'viem/chains'; import { Address } from 'viem'; declare function getChainIcon(chainId: number | "solana"): string | undefined; declare function getTokenIcon(symbol: string): string | undefined; declare const DEFAULT_BACKEND_URL = "https://v1.orchestrator.rhinestone.dev/deposit-widget"; declare const DEFAULT_SIGNER_ADDRESS: Address; declare const NATIVE_TOKEN_ADDRESS: Address; declare const CHAIN_BY_ID: Record; declare const SOURCE_CHAINS: Chain[]; declare const SUPPORTED_CHAINS: Chain[]; type ChainRegistryToken = { symbol: string; address: Address; decimals: number; }; type ChainRegistryEntry = { name: string; tokens: readonly ChainRegistryToken[]; }; declare const chainRegistry: Record; type SupportedTokenOption = { symbol: string; address: Address; decimals: number; }; declare function getChainId(chain: Chain | number): number; declare function getChainObject(chain: Chain | number): Chain | undefined; declare function getUsdcAddress(chainId: number): Address | undefined; declare function getUsdcDecimals(chainId: number): number; declare function getTokenAddress(symbol: string, chainId: number): Address | undefined; declare function getTokenDecimals(symbol: string, chainId: number): number; declare function getTargetTokenSymbolsForChain(chainId: number): string[]; declare function getSupportedTokenSymbolsForChain(chainId: number): string[]; declare function getSupportedChainIds(): number[]; declare function isSupportedTokenAddressForChain(token: Address, chainId: number): boolean; declare function getSupportedTargetTokens(chainId: number): SupportedTokenOption[]; declare function getTokenDecimalsByAddress(token: Address, chainId?: number): number; declare function findChainIdForToken(address: Address): number | undefined; declare function getTokenSymbol(token: Address, chainId?: number): string; declare function getChainName(chainId: number | "solana"): string; declare function getChainBadge(chainId: number | "solana"): { shortLabel: string; color: string; bg: string; }; declare function getExplorerUrl(chainId: number | "solana"): string | undefined; declare function getExplorerTxUrl(chainId: number | "solana", txHash: string): string | undefined; declare function getExplorerName(chainId: number | "solana"): string; /** * HyperCore — Hyperliquid's virtual trading L1 (chain id 1337), settling on * HyperEVM (999). It is USDC-only and requires an EOA recipient. It has no node * of its own, so `targetChainToCaip2(1337)` still emits `eip155:1337` (the * backend maps 1337 → 999), but it must never be used as an EVM RPC target. */ declare const HYPERCORE_CHAIN_ID = 1337; /** Canonical USDC on HyperEVM (999), the HyperCore settlement chain. */ declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f"; export { CHAIN_BY_ID as C, DEFAULT_BACKEND_URL as D, HYPERCORE_CHAIN_ID as H, NATIVE_TOKEN_ADDRESS as N, SOURCE_CHAINS as S, DEFAULT_SIGNER_ADDRESS as a, HYPERCORE_USDC_ADDRESS as b, SUPPORTED_CHAINS as c, type SupportedTokenOption as d, chainRegistry as e, findChainIdForToken as f, getChainBadge as g, getChainIcon as h, getChainId as i, getChainName as j, getChainObject as k, getExplorerName as l, getExplorerTxUrl as m, getExplorerUrl as n, getSupportedChainIds as o, getSupportedTargetTokens as p, getSupportedTokenSymbolsForChain as q, getTargetTokenSymbolsForChain as r, getTokenAddress as s, getTokenDecimals as t, getTokenDecimalsByAddress as u, getTokenIcon as v, getTokenSymbol as w, getUsdcAddress as x, getUsdcDecimals as y, isSupportedTokenAddressForChain as z };