import type { GitFile } from './types.js'; export declare function git_path(file: GitFile): string; export declare function stage_file(cwd: string, file: GitFile): Promise; export declare function unstage_file(cwd: string, file: GitFile): Promise; export declare function toggle_file(cwd: string, file: GitFile): Promise; export declare function stage_all(cwd: string): Promise; export declare function unstage_all(cwd: string): Promise; export declare function discard_file(cwd: string, file: GitFile): Promise; export declare function commit(cwd: string, message: string, options?: { amend?: boolean; }): Promise;