/** * analyzer.ts - Analyze cross-repo relationships * * Identifies patterns across projects: * - Internal dependencies (repo A depends on repo B) * - Shared dependencies * - Common tech stack * - Architecture patterns */ import { IProjectReview } from './reviewer'; export interface IRelationship { type: 'depends_on' | 'shared_dependency' | 'shared_stack' | 'shared_pattern'; source?: string; target?: string; description: string; projects?: string[]; } export interface IAnalysisResult { solutionOverview: string; projectSummaries: Array<{ name: string; path: string; summary: string; language: string; framework: string | null; architecture: string | null; fileCount: number; }>; relationships: IRelationship[]; sharedStack: { languages: string[]; frameworks: string[]; buildTools: string[]; testingFrameworks: string[]; }; commonPatterns: { architecture: Array<{ pattern: string; projects: string[]; }>; testing: Array<{ framework: string; projects: string[]; }>; }; } /** * Analyze all projects and their relationships */ export declare function analyzeRelationships(reviews: IProjectReview[], rootPath: string): IAnalysisResult; //# sourceMappingURL=analyzer.d.ts.map