import { Address, ByteArray, Chain } from "viem"; /** Retrieve the Viem chain config for a given chainId. */ export declare function getViemChainById(chainId: number): Chain; /** Get the RPC URL for a given chainId. */ export declare function getAlchemyTransportUrl(chainId: number, alchemyApiKey: string): string; /** Converts a buffer to a viem Address. Zero-length buffer = zero addr. * Any length other than 0 or 20 bytes = throws an error. */ export declare function bytesToAddr(bytes: ByteArray): Address;