import type { DiffEntry } from './types'; /** * Parse git diff --name-status output into structured DiffEntry objects. * * Input format (tab-separated): * M\tsrc/foo.ts * R100\told/path.ts\tnew/path.ts * D\tremoved.ts * A\tnew-file.ts */ export declare function parseDiffOutput(output: string): DiffEntry[]; /** * Get changed files between a ref and HEAD. * Uses `git diff --name-status` to include rename detection. */ export declare function getChangedFiles(repoPath: string, options: { ref?: string; mergeBase?: string; }): DiffEntry[]; /** * Get the merge-base commit between two refs. * Returns the SHA of the common ancestor. */ export declare function getMergeBase(repoPath: string, ref1: string, ref2?: string): string; //# sourceMappingURL=git-diff.d.ts.map