import { Chain } from 'viem/chains'; import { Address } from 'viem'; declare function getChainIcon(chainId: number | "solana" | "hypercore"): string | undefined; declare function tokenIconUrl(symbol: string): string; /** * @deprecated Use {@link tokenIconUrl} and render via `` (or your own * ``). Kept as a compatibility alias for existing consumers: it now * always returns the CDN URL (icons moved off the inline bundle), so it no * longer signals "unknown" with `undefined` — a symbol with no hosted SVG yields * a URL that 404s. Handle load failure at the render site. */ declare function getTokenIcon(symbol: string): string; 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" | "hypercore"): string; declare function getChainBadge(chainId: number | "solana" | "hypercore"): { shortLabel: string; color: string; bg: string; }; declare function getExplorerUrl(chainId: number | "solana" | "hypercore"): string | undefined; declare function getExplorerTxUrl(chainId: number | "solana" | "hypercore", txHash: string): string | undefined; declare function getExplorerName(chainId: number | "solana" | "hypercore"): string; /** * HyperCore — Hyperliquid's virtual trading L1 (internal chain id 1337), * settling on HyperEVM (999). It is USDC-only and requires an EOA recipient. It * has no node of its own and must never be used as an EVM RPC target. Its * canonical CAIP-2 is `hypercore:mainnet` (RHI-4560), NOT `eip155:1337`; * `targetChainToCaip2(1337)` emits the former. */ declare const HYPERCORE_CHAIN_ID = 1337; /** Canonical USDC on HyperEVM (999), the HyperCore settlement chain. */ declare const HYPERCORE_USDC_ADDRESS = "0xb88339CB7199b77E23DB6E890353E22632Ba630f"; /** * USDT0 on HyperEVM (999). HyperCore-origin deposits accept USDC *and* USDT0 * (both land on HyperEVM and route out via the orchestrator). Destination * delivery stays USDC-only, so this is a *source*-token address only. */ declare const HYPERCORE_USDT0_ADDRESS = "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb"; export { tokenIconUrl as A, HYPERCORE_USDT0_ADDRESS as B, 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 };