/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { WebApi } from "azure-devops-node-api"; import type { Build } from "azure-devops-node-api/interfaces/BuildInterfaces.js"; import type JSZip from "jszip"; import type { CommandLogger } from "../../logging.js"; import type { IAzureDevopsBuildCoverageConstants } from "./constants.js"; export interface IBuildMetrics { build: Build & { id: number; }; /** * The artifact that was published by the PR build in zip format */ artifactZip: JSZip; } /** * Method that returns the build artifact for a baseline build. * @param azureDevopsBuildCoverageConstants - Code coverage constants for the project. * @param adoConnection - The connection to the Azure DevOps API * @param logger - The logger to log messages. */ export declare function getBaselineBuildMetrics(azureDevopsBuildCoverageConstants: IAzureDevopsBuildCoverageConstants, adoConnection: WebApi, logger?: CommandLogger): Promise; /** * Method that returns the build artifact for a specific build. * @param azureDevopsBuildCoverageConstants - Code coverage constants for the project. * @param adoConnection - The connection to the Azure DevOps API * @param logger - The logger to log messages. */ export declare function getBuildArtifactForSpecificBuild(azureDevopsBuildCoverageConstants: IAzureDevopsBuildCoverageConstants, adoConnection: WebApi, logger?: CommandLogger): Promise; //# sourceMappingURL=getBaselineBuildMetrics.d.ts.map