import { type AssetDiff, type DiffForEntry } from './calculateDiff.mjs'; import type { BundleSizeReport, BundleSizeReportEntry, ThresholdValue } from '../types.mjs'; export type ComparedReportEntry = BundleSizeReportEntry & { diff: DiffForEntry; /** * Per-asset-type breakdown of deltas. Absent when neither side carried * `assets` (legacy report). When present, keys are the union of * `Object.keys(local.assets)` and `Object.keys(remote.assets)` so a * type only present on one side surfaces as a positive/negative delta. * * Keys are typed as `string` rather than `AssetType` so future-version * JSON carrying unknown types (e.g. a stored `assets.svg`) flows through * without TypeScript narrowing dropping it. */ assetsDiff?: Record; }; export type ComparedReport = ComparedReportEntry[]; export declare function compareResultsInReports(localReport: BundleSizeReport, remoteReport: BundleSizeReport, fallbackThreshold: ThresholdValue): ComparedReport; //# sourceMappingURL=compareResultsInReports.d.mts.map