import type { Chain } from 'viem'; import { z } from 'zod'; export declare const DEFAULT_NETWORK = "sei"; export declare const DEFAULT_RPC_URL = "https://evm-rpc.sei-apis.com"; export declare const DEFAULT_CHAIN_ID = 1329; export declare const SUPPORTED_CHAIN_IDS: readonly [1329, 1328]; export declare const SUPPORTED_NETWORK_NAMES: readonly ["sei", "sei-testnet"]; export declare const SUPPORTED_NETWORK_INPUTS: readonly ["sei", "sei-testnet", "1329", "1328", "0x531", "0x530"]; export type SupportedChainId = (typeof SUPPORTED_CHAIN_IDS)[number]; export type SupportedNetworkName = (typeof SUPPORTED_NETWORK_NAMES)[number]; export type NetworkIdentifier = number | string; export declare const networkSchema: z.ZodPipe, z.ZodEnum<{ sei: "sei"; "sei-testnet": "sei-testnet"; 1329: "1329"; 1328: "1328"; "0x531": "0x531"; "0x530": "0x530"; }>>, z.ZodTransform<"sei" | "sei-testnet", "sei" | "sei-testnet" | "1329" | "1328" | "0x531" | "0x530">>; export declare const chainMap: Record; export declare const networkNameMap: Record; export declare const rpcUrlMap: Record; /** * Resolves a chain identifier (number or string) to a chain ID * @param chainIdentifier Chain ID (number) or network name (string) * @returns The resolved chain ID */ export declare function resolveChainId(chainIdentifier: NetworkIdentifier): SupportedChainId; /** * Normalizes every supported selector to its canonical network name. */ export declare function normalizeNetwork(chainIdentifier?: NetworkIdentifier): SupportedNetworkName; /** * Returns the chain configuration for the specified chain ID or network name * @param chainIdentifier Chain ID (number) or network name (string) * @returns The chain configuration * @throws Error if the network is not supported */ export declare function getChain(chainIdentifier?: NetworkIdentifier): Chain; /** * Gets the appropriate RPC URL for the specified chain ID or network name * @param chainIdentifier Chain ID (number) or network name (string) * @returns The RPC URL for the specified chain */ export declare function getRpcUrl(chainIdentifier?: NetworkIdentifier): string; /** * Get a list of supported networks * @returns Array of supported network names (excluding short aliases) */ export declare function getSupportedNetworks(): SupportedNetworkName[];