/** * @description * Gets the chain ID if its set, otherwise gets the chain ID from the access node * * @param {object} opts - Optional parameters * @returns {Promise} The chain ID of the access node * @throws {Error} If the chain ID is not found * * @example * // returns "testnet" * getChainId() */ export function getChainId(opts?: object): Promise; /** * @description * Clears the chainId cache, useful for testing */ export function clearChainIdCache(): void;