import type { GitConfig } from "../types/index.js"; export type GitManagerOptions = { cwd?: string; }; export type GitManager = { ensureCleanState: () => Promise; ensureUpToDate: (autoRebase?: boolean) => Promise; hasChanges: () => Promise; stageAll: () => Promise; commit: (message: string) => Promise; push: (force?: boolean) => Promise; getHead: () => Promise; getBranch: () => Promise; getRemote: () => Promise; getDiff: () => Promise; getDiffStats: () => Promise<{ filesChanged: number; insertions: number; deletions: number; }>; }; export declare const createGitManager: (options?: GitManagerOptions) => GitManager; export declare const commitAndPush: (gitManager: GitManager, config: GitConfig, cycleNumber: number) => Promise; //# sourceMappingURL=git.d.ts.map