import type { IGitService } from './interfaces/index.js'; export declare const GIT_WORKING_DIR = "GIT_WORKING_DIR"; export declare class GitService implements IGitService { private readonly workingDir; constructor(workingDir?: string); private execGit; isGitRepo(): Promise; createBranch(name: string): Promise; createBackupCommit(message: string): Promise; getCurrentBranch(): Promise; hasUncommittedChanges(): Promise; stageFiles(files: string[]): Promise; commit(message: string): Promise; checkoutBranch(name: string): Promise; getRepoRoot(): Promise; getModifiedFiles(): Promise; getStagedFiles(): Promise; resetToCommit(commitHash: string, hard?: boolean): Promise; private sanitizeBranchName; private sanitizeCommitMessage; }