import type { ProjectConventions } from "./project-detector.js"; export interface ChangeEntry { type: "feat" | "fix" | "refactor" | "chore" | "docs" | "breaking"; description: string; source: "git" | "workflow" | "both"; details?: string; scope?: string; } export interface GitCommit { hash: string; type?: string; scope?: string; description: string; body?: string; breaking: boolean; } export interface WorkflowChange { workflowId: string; feature: string; userStories: string[]; tasks: string[]; } export interface ReleaseAnalysis { gitCommits: GitCommit[]; workflowChanges: WorkflowChange[]; mergedChanges: ChangeEntry[]; } /** * Service for analyzing code changes from git history and workflows. * * Parses conventional commits, extracts change types, and generates * release analysis from git commits and workflow changes. */ export declare class ChangeAnalyzer { private projectRoot; /** * @param projectRoot - Root directory of the project */ constructor(projectRoot: string); /** * Analyze changes based on project conventions */ analyze(conventions: ProjectConventions): Promise; /** * Analyze git commits since last tag */ private analyzeGitCommits; /** * Analyze Cortex workflow files */ private analyzeWorkflows; /** * Merge workflow changes and git commits */ private mergeChanges; /** * Convert git commits to change entries */ private convertGitToChanges; /** * Map git commit type to change entry type */ private mapCommitType; } //# sourceMappingURL=change-analyzer.d.ts.map