/** * ADF Bundle Output — result shape from bundleModules(). */ import type { AdfDocument } from './ast'; import type { Manifest } from './manifest'; export interface BundleResult { manifest: Manifest; resolvedModules: string[]; mergedDocument: AdfDocument; tokenEstimate: number; tokenBudget: number | null; tokenUtilization: number | null; perModuleTokens: Record; moduleBudgetOverruns: Array<{ module: string; tokens: number; budget: number; }>; triggerMatches: Array<{ module: string; trigger: string; matched: boolean; matchedKeywords: string[]; loadReason: 'default' | 'trigger'; }>; unmatchedModules: string[]; advisoryOnlyModules: string[]; /** * Parsed document for each resolved module, keyed by module path. Populated * by `bundleModules()` (absent on hand-built BundleResults, e.g. in tests) * so `evaluateEvidence` can validate per-module and attribute constraint * results back to their owning module instead of only the merged document. */ documents?: Record; } //# sourceMappingURL=bundle.d.ts.map