export type BranchFailureKind = 'remote-branch-missing' | 'remote-read-only' | 'remote-denied' | 'push-rejected' | 'unknown'; export interface BranchSyncResult { branch: string; success: boolean; action: 'synced' | 'rebuilt' | 'skipped' | 'failed'; failureKind?: BranchFailureKind; error?: string; } export declare function classifyGitFailure(message: string): BranchFailureKind; export interface RepoCleanupResult { repoPath: string; repoName: string; success: boolean; primaryBranch: string; branchResults: BranchSyncResult[]; prunedBranches: string[]; skipped: boolean; skipReason?: string; skipDetail?: string; untrackedOnly?: boolean; error?: string; } export interface CleanupOptions { verbose?: boolean; rebuildBranch?: boolean; dryRun?: boolean; environments?: string[]; } export declare function isGitRepository(path: string): Promise; export declare function describeUncommittedChanges(repoPath: string): Promise<{ detail: string; untrackedOnly: boolean; }>; export declare function hasUncommittedChanges(repoPath: string): Promise; export declare function detectPrimaryBranch(repoPath: string): Promise; export declare function remoteBranchExists(repoPath: string, branch: string): Promise; export declare function localBranchExists(repoPath: string, branch: string): Promise; export declare function cleanupRepo(repoPath: string, options?: CleanupOptions): Promise; //# sourceMappingURL=git-operations.d.ts.map