/**
 * Deletion Transaction with 3-Phase Commit
 * Increment: 0053-safe-feature-deletion
 * Tasks: T-007, T-008, T-009, T-010, T-011
 */
import { DeletionTransactionOptions, DeletionOptions, DeletionResult, ValidationResult } from './types.js';
/**
 * Deletion Transaction - Atomic deletion with rollback
 * Implements 3-phase commit: Validation → Staging → Commit
 */
export declare class DeletionTransaction {
    private projectRoot;
    private logger;
    private gitService;
    private backupDir;
    private checkpointFile;
    constructor(options: DeletionTransactionOptions);
    /**
     * T-010: Execute transaction (3-phase commit)
     */
    execute(validation: ValidationResult, options: DeletionOptions): Promise<DeletionResult>;
    /**
     * T-008, T-010: Phase 2 - Staging (reversible)
     */
    private stagingPhase;
    /**
     * T-010: Phase 3 - Commit (irreversible)
     */
    private commitPhase;
    /**
     * T-011: Rollback (restore from backup)
     */
    private rollback;
    /**
     * T-008: Create backup of files
     */
    private createBackup;
    /**
     * T-008: Create checkpoint file
     */
    private createCheckpoint;
    /**
     * T-009: Update orphaned increment metadata (remove feature_id)
     */
    private updateOrphanedMetadata;
    /**
     * Cleanup backup and checkpoint after successful commit
     */
    private cleanup;
}
//# sourceMappingURL=deletion-transaction.d.ts.map