/** * Iterates through each entry in the mastercopy artifacts file and verifies the mastercopy on an Etherscan-compatible block explorer. * * @param {Object} params - The function parameters. * @param {number} params.chainId - The chain ID. * @param {string} params.apiKey - The API key used for verification. * @param {string} [params.mastercopyArtifactsFile=defaultMastercopyArtifactsFile()] - The path to the mastercopy artifacts file. Optional. Defaults to the result of `defaultMastercopyArtifactsFile()`. * @param {string} [params.apiUrl] - Optional custom API URL. If not provided, will use the default for the chain. * * @throws {Error} If the mastercopy artifacts file does not exist at the specified path. */ export default function ({ chainId, apiKey, mastercopyArtifactsFile, apiUrl, }: { chainId: number; apiKey: string; mastercopyArtifactsFile?: string; apiUrl?: string; }): Promise;