/** * Branch Compare * Structural diff between two git branches — new files, changed symbols, * removed exports, stats summary. */ export interface BranchCompareResult { base: string; compare: string; stats: { filesAdded: number; filesModified: number; filesDeleted: number; filesRenamed: number; totalChanges: number; }; added: string[]; modified: string[]; deleted: string[]; renamed: { from: string; to: string; }[]; diffStat: { file: string; insertions: number; deletions: number; }[]; commitsBehind: number; commitsAhead: number; conflictFiles: string[]; } /** * Compare two git branches and return structural diff information. * @param cwd - The working directory of the git repository. * @param base - The base branch name. * @param compare - The comparison branch name. * @param options - Configuration options. * @param options.includeStats - Whether to include diff stats. * @param options.showConflicts - Whether to detect potential merge conflicts. * @returns The branch comparison result. */ export declare function compareBranches(cwd: string, base: string, compare?: string, options?: { includeStats?: boolean; showConflicts?: boolean; }): Promise; //# sourceMappingURL=branch-compare.d.ts.map