export type GitSavepoint = { head: string; stashRef?: string; }; export type GitCommitOptions = { message: string; files?: string[]; }; export type GitWorktree = { path: string; branch: string; }; export type GitWorktreeCreateOptions = { base?: string; path?: string; }; export declare function makeGitModule(cwd: string): { head(): Promise; checkpoint(): Promise; commit(options: GitCommitOptions): Promise; revert(savepoint: GitSavepoint): Promise; diff(): Promise; worktreeCreate(branch: string, options?: GitWorktreeCreateOptions): Promise; worktreeRemove(path: string): Promise; worktreeList(): Promise; };