import { ChainIdLike } from "./index.js"; import { NetworkConfig } from "./config.js"; export declare function isNetworkConfig(cand: any): cand is NetworkConfig; export declare const getChainId: (chainId: ChainIdLike) => number; export declare const maybeChainId: (chainId?: ChainIdLike) => number | undefined; export declare const isValidNetworkConfig: (networkConfig: NetworkConfig | NetworkConfig[], raise?: boolean, skipRelayerCheck?: boolean) => boolean; export declare const ensureValidNetworks: (networks: NetworkConfig[], skipRelayerCheck?: boolean) => NetworkConfig[]; export declare const ensureUniqueNetworks: (networks: NetworkConfig[], raise?: boolean) => boolean; export declare const updateNetworkConfig: (src: Partial, dest: NetworkConfig) => void; export declare const validateAndSortNetworks: (networks: NetworkConfig[]) => NetworkConfig[]; export declare const findNetworkConfig: (networks: NetworkConfig[], chainId: ChainIdLike) => NetworkConfig | undefined; export declare const checkNetworkConfig: (network: NetworkConfig, chainId: string | number) => boolean; export declare const networksIndex: (networks: NetworkConfig[]) => { [key: string]: NetworkConfig; }; export declare const sortNetworks: (networks: NetworkConfig[]) => NetworkConfig[]; export declare const stringTemplate: (sTemplate: string, mData: any) => string;