export declare function findGitRoot(path: string): string | null; /** * Lists tracked files plus untracked files that are not excluded by Git's * standard ignore rules. `null` means Git is unavailable or the path is not * inside a repository; an empty array is a valid empty worktree result. */ export declare function collectGitVisibleFiles(rootDir: string): string[] | null; export interface GitSnapshot { repoRoot: string; headSha: string; dirtyFiles: string[]; } export declare function readGitSnapshot(projectDir: string): GitSnapshot | null; export declare function diffGitFilesBetweenCommits(projectDir: string, fromSha: string, toSha: string): string[];