/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type JSZip from "jszip"; import type { CommandLogger } from "../logging.js"; /** * The type for the coverage report, containing the line coverage and branch coverage(in percentage) */ export interface CoverageMetric { lineCoverage: number; branchCoverage: number; } /** * Method that returns the coverage report for the build from the artifact. * @param artifactZip - zipped coverage files for the build * @param logger - The logger to log messages. * @returns an map of coverage metrics for build containing packageName, lineCoverage and branchCoverage */ export declare const getCoverageMetricsFromArtifact: (artifactZip: JSZip, logger?: CommandLogger) => Promise>; //# sourceMappingURL=getCoverageMetrics.d.ts.map