export declare function isGitRepo(cwd: string): boolean; export declare function hasUncommittedChanges(cwd: string): boolean; export declare function getUncommittedStatus(cwd: string): string | null; export declare function createCheckpoint(cwd: string, message: string, paths?: string[], expectedContentHashes?: ReadonlyMap): string | null; export declare function restoreToCheckpoint(cwd: string, sha: string): boolean; export declare function getChangedFileNames(cwd: string): string[]; export declare function getChangedPaths(cwd: string): string[]; export declare function getCurrentHead(cwd: string): string | null;