import { MultiDbManager } from '../core/multi-db-manager'; import { IdMapper } from '../core/id-mapper'; import { SemanticPatternMatcher, ArchitecturalPattern } from './semantic-pattern-matcher'; import { Module } from '../models/module'; import { Symbol } from '../models/symbol'; import { Dependency } from '../models/dependency'; import { Adr } from '../models/adr'; /** * Complete module context for ADR reconstruction. */ export interface ModuleContext { module: Module; symbols: Symbol[]; dependencies: Dependency[]; incomingDependencies: Dependency[]; changes: any[]; relatedAdrs: Adr[]; similarModules: Array<{ module: Module; score: number; }>; patterns: ArchitecturalPattern[]; } /** * Builds complete module context from all 5 dimensions (X, Y, Z, W, T). * Used for deterministic ADR reconstruction. */ export declare class AdrContextBuilder { private crossDimensionApi; private moduleApi; private symbolApi; private dependencyApi; private adrApi; private changeApi; private patternMatcher; constructor(dbManager: MultiDbManager, idMapper: IdMapper, patternMatcher: SemanticPatternMatcher); /** * Builds complete module context from all 5 dimensions. */ buildModuleContext(module: Module, pluginId: string): Promise; /** * Gathers symbols (Y-Dimension) for the module. */ private gatherSymbols; /** * Gathers outgoing dependencies (Z-Dimension) for the module. */ private gatherDependencies; /** * Gathers incoming dependencies (Z-Dimension) - who uses this module? */ private gatherIncomingDependencies; /** * Gathers changes (T-Dimension) for the module. */ private gatherChanges; /** * Gathers related ADRs (W-Dimension) that reference this module. */ private gatherRelatedAdrs; /** * Gathers similar modules using Semantic Pattern Matcher. */ private gatherSimilarModules; /** * Gathers architectural patterns using Semantic Pattern Matcher. */ private gatherPatterns; } //# sourceMappingURL=adr-context-builder.d.ts.map