/** * Repository Operations * * Git operations for AI execution workflow. * Uses simple-git library for Git operations. */ import type { FileChange } from "./executor"; /** * Repository operations class * * Handles Git operations for AI execution: * - Creating branches * - Applying file changes * - Committing and pushing */ export declare class Repo { private repoRoot; constructor(repoRoot: string); /** * Create a branch for an issue * * @param issueKey Jira issue key * @param prefix Branch prefix (e.g., "feature", "bugfix") * @returns Branch name */ createIssueBranch(issueKey: string, prefix?: string): Promise; /** * Create a generic branch */ createBranch(branchName: string): Promise; /** * Apply file changes to the repository * * @param changes File changes to apply */ applyChanges(changes: FileChange[]): Promise; /** * Commit and push changes * * @param branchName Branch name * @param message Commit message */ commitAndPush(branchName: string, message: string): Promise; /** * Get current branch name */ getCurrentBranch(): Promise; /** * Check if repository is clean (no uncommitted changes) */ isClean(): Promise; } //# sourceMappingURL=repo.d.ts.map