import { StatusResult } from 'simple-git'; import { GitConfig } from '../../types'; export declare class GitService { private git; private config; private aiService; private workingDir; constructor(workingDir?: string, config?: GitConfig); isGitRepository(): Promise; initRepository(): Promise; getStatus(): Promise; getModifiedFiles(): Promise; getStagedFiles(): Promise; stageFiles(files: string[]): Promise; stageAll(): Promise; unstageFiles(files: string[]): Promise; commit(message: string): Promise; generateAndCommit(changedFiles: string[]): Promise; push(force?: boolean): Promise; pull(): Promise; getCurrentBranch(): Promise; checkout(branch: string, createNew?: boolean): Promise; getDiff(file?: string): Promise; getStagedDiff(file?: string): Promise; getLastCommit(): Promise<{ hash: string; message: string; author: string; date: string; }>; getFileHistory(file: string, limit?: number): Promise; hasUncommittedChanges(): Promise; ensureCleanWorkingDirectory(): Promise; stash(message?: string): Promise; stashPop(): Promise; isEnabled(): boolean; shouldAutoPush(): boolean; } //# sourceMappingURL=index.d.ts.map