export declare enum ChainType { None = 0, EVM = 256, Substrate = 512, SubstrateDevelopment = 592, PolkadotRelayChain = 769, KusamaRelayChain = 770, PolkadotParachain = 784, KusamaParachain = 785, Cosmos = 1024, Solana = 1280 } export declare function castToChainType(v: number): ChainType; export type TypedChainId = { chainType: ChainType; chainId: number; }; /** * @param num - the number to be converted * @param min - the minimum bytes the array should hold (in the case of requiring empty bytes to match rust values) * @returns */ export declare const numToByteArray: (num: number, min: number) => number[]; export declare const byteArrayToNum: (arr: number[]) => number; export declare const calculateTypedChainId: (chainType: ChainType, chainId: number) => number; export declare const calculateTypedChainIdBytes: (typedChainId: number) => string; export declare const parseTypedChainId: (chainIdType: number) => TypedChainId;