import type { ChainMetadata } from "./types.js"; /** * Returns chain metadata for the given chain ID, or `undefined` if unknown. * Accepts both `number` and `bigint` to align with SDK's `TokenEntry.chainId`. */ export declare function getChainMetadata(chainId: number | bigint): ChainMetadata | undefined; /** * Returns a human-readable chain name. * Falls back to `"Chain {chainId}"` when the chain is not recognised. */ export declare function getChainDisplayName(chainId: number | bigint): string; /** * Returns the short label for a chain (e.g. "ARB", "ETH"). * Falls back to `undefined` when the chain is not recognised. */ export declare function getChainShortName(chainId: number | bigint): string | undefined; /** * Builds a block-explorer transaction URL. * Returns `undefined` when the chain is not recognised. */ export declare function getExplorerTxUrl(chainId: number | bigint, txHash: string): string | undefined; /** * Resolves a chain name or token label to an EVM chain ID. * The lookup is case-insensitive. * Returns `undefined` when the name is not recognised. */ export declare function resolveChainId(name: string): number | undefined; /** * Converts a token / network label (e.g. "arb-sepolia", "ethereum") * to a user-friendly display name (e.g. "Arbitrum Sepolia", "Ethereum"). * * Resolution order: * 1. Override table ({@link LABEL_DISPLAY_OVERRIDES}) * 2. Resolve label → chainId → metadata name * 3. Capitalize the first letter of the label as a last resort */ export declare function resolveNetworkDisplayName(label: string): string; //# sourceMappingURL=metadata.d.ts.map