import { ModuleClassParams } from '../../types'; import BaseClass from './base-class'; export default class ExportAssets extends BaseClass { private assetsRootPath; assetConfig: { dirName: string; fileName: string; batchLimit: number; host: string; invalidKeys: string[]; chunkFileSize: number; downloadLimit: number; fetchConcurrency: number; assetsMetaKeys: string[]; securedAssets: boolean; displayExecutionTime: boolean; enableDownloadStatus: boolean; includeVersionedAssets: boolean; blockingScanStatuses: string[]; dependencies?: import("../../types").Modules[]; }; private assetsFolder; versionedAssets: Record[]; constructor({ exportConfig, stackAPIClient }: ModuleClassParams); get commonQueryParam(): Record; private getGlobalSummary; /** * Bug 3 — push real CS Assets entity counts into the final EXPORT summary: override the ASSETS * module to count downloaded binaries only, and add dedicated ASSET TYPES / FIELDS / FOLDERS rows. * Drives the global summary directly (no cli-utilities change); the live multibar is unaffected. * The ASSETS strategy is set to Default so applyStrategyCorrections does not overwrite these. */ private applyAssetSummaryCounts; private markAssetsSkippedInSummary; start(): Promise; /** * @method getAssetsFolders * @param {number} totalCount number * @returns Promise */ getAssetsFolders(totalCount: number | void): Promise | void>; /** * @method getAssets * @param totalCount number * @returns Promise */ getAssets(totalCount: number | void): Promise; /** * @method getVersionedAssets * @returns Promise */ getVersionedAssets(): Promise; getAssetsCount(isDir?: boolean): Promise; /** * @method downloadAssets * @returns Promise */ downloadAssets(): Promise; }