/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type { WebApi } from "azure-devops-node-api"; import type JSZip from "jszip"; import type { StatsCompilation } from "webpack"; import type { BundleBuddyConfig } from "../BundleBuddyTypes"; import { type BundleFileData } from "./getBundleFilePathsFromFolder"; /** * Gets a list of all paths relevant to bundle buddy from the zip archive * @param jsZip - A zip file that has been processed with the jszip library */ export declare function getBundlePathsFromZipObject(jsZip: JSZip): BundleFileData[]; /** * Downloads an Azure Devops artifacts and parses it with the jszip library. * @param adoConnection - A connection to the ADO api. * @param buildNumber - The ADO build number that contains the artifact we wish to fetch */ export declare function getZipObjectFromArtifact(adoConnection: WebApi, projectName: string, buildNumber: number, bundleAnalysisArtifactName: string): Promise; /** * Retrieves a decompressed stats file from a jszip object * @param jsZip - A zip file that has been processed with the jszip library * @param relativePath - The relative path to the file that will be retrieved */ export declare function getStatsFileFromZip(jsZip: JSZip, relativePath: string): Promise; /** * Retrieves and parses a bundle buddy config file from a jszip object * @param jsZip - A zip file that has been processed with the jszip library * @param relativePath - The relative path to the file that will be retrieved */ export declare function getBundleBuddyConfigFileFromZip(jsZip: JSZip, relativePath: string): Promise; //# sourceMappingURL=AdoArtifactFileProvider.d.ts.map