import { a as AnalyzeSubpackagesResult, n as AnalyzeBudgetCheckItem, o as ModuleSourceType, r as createAnalyzeBudgetCheck, t as AnalyzeBudgetCheckInput } from "../budget-CTLOHwgI.mjs"; //#region src/dashboard/analyze/types.d.ts interface DuplicateModuleInsight { id: string; source: string; sourceType: ModuleSourceType; packageCount: number; bytes: number; estimatedSavingBytes: number; packages: string[]; hasIndependentPackage: boolean; advice: string; } interface AnalyzeSizeChange { key: string; label: string; change: 'added' | 'removed' | 'increased' | 'decreased' | 'unmeasured'; currentBytes: number | null; previousBytes: number | null; deltaBytes: number | null; packageId?: string; packageLabel?: string; file?: string; moduleId?: string; sourceType?: ModuleSourceType; category?: string; advice?: string; } interface AnalyzeComparison { currentBytes: number | null; previousBytes: number | null; deltaBytes: number | null; currentUnmeasuredFiles: number; previousUnmeasuredFiles: number; packages: AnalyzeSizeChange[]; files: AnalyzeSizeChange[]; modules: AnalyzeSizeChange[]; } //#endregion //#region src/dashboard/analyze/comparison.d.ts /** 比较两个真实快照;模块仅按已记录的 chunk 贡献归并,缺失测量不视为零。 */ export declare function createAnalyzeComparison(current: Pick, previous: Pick): AnalyzeComparison; //#endregion //#region src/dashboard/analyze/duplicates.d.ts /** 按原始模块 ID 统计跨包重复,节省量是估算值,不代表可安全移除的字节。 */ export declare function createDuplicateModuleInsights(result: Pick): DuplicateModuleInsight[]; //#endregion export { type AnalyzeBudgetCheckInput, type AnalyzeBudgetCheckItem, type AnalyzeComparison, type AnalyzeSizeChange, type AnalyzeSubpackagesResult, type DuplicateModuleInsight, createAnalyzeBudgetCheck };