export interface ChangedFile { file: string; status: "added" | "modified" | "deleted" | "renamed"; additions: number; deletions: number; } /** * Get list of changed files from git diff * Compares against the merge base with main/master or HEAD if not on a branch */ export declare function getChangedFiles(cwd: string): Promise; /** * Get the content of a file at a specific git ref */ export declare function getFileAtRef(cwd: string, file: string, ref?: string): Promise; /** * Check if we're in a git repository */ export declare function isGitRepo(cwd: string): Promise; /** * Get the root of the git repository */ export declare function getGitRoot(cwd: string): Promise; //# sourceMappingURL=git.d.ts.map