/**
 * Git Service for Safe Feature Deletion
 * Increment: 0053-safe-feature-deletion
 * Tasks: T-018, T-019, T-020, T-021, T-022, T-023
 */
import { GitServiceOptions, ValidationResult } from './types.js';
/**
 * Feature Deletion Git Service
 * Handles git operations for feature deletion
 */
export declare class FeatureDeletionGitService {
    private projectRoot;
    private logger;
    constructor(options: GitServiceOptions);
    /**
     * T-018, T-023: Stage git deletions (git rm for tracked, fs.unlink for untracked)
     */
    stageGitDeletions(files: string[]): Promise<{
        tracked: number;
        untracked: number;
    }>;
    /**
     * T-019: Create git commit with descriptive message
     */
    commitDeletion(featureId: string, validation: ValidationResult): Promise<string>;
    /**
     * T-021: Unstage git deletions (rollback)
     */
    unstageGitDeletions(files: string[]): Promise<void>;
    /**
     * T-023: Detect git repository
     */
    detectGitRepository(): Promise<boolean>;
    /**
     * Check if file is tracked by git
     */
    private isFileTracked;
    /**
     * Get git user name
     */
    private getGitUser;
}
//# sourceMappingURL=git-service.d.ts.map