/** * UI18n Review Command - Terminal User Interface * Interactive translation review tool with diff display and batch operations */ import { TranslationEntry, TranslationStatus, QualityScore } from './translation-status-manager'; export interface ReviewOptions { language?: string; status?: TranslationStatus; assignedTo?: string; priority?: 'low' | 'medium' | 'high' | 'critical'; batchSize?: number; autoSave?: boolean; showContext?: boolean; filterByKey?: string; } export interface ReviewSession { id: string; startTime: string; language: string; entries: TranslationEntry[]; currentIndex: number; progress: { total: number; reviewed: number; approved: number; rejected: number; skipped: number; }; userId?: string; changes: Array<{ key: string; action: 'approve' | 'edit' | 'reject' | 'skip' | 'lock'; originalStatus: TranslationStatus; newStatus: TranslationStatus; newText?: string; notes?: string; qualityScore?: QualityScore; }>; } export declare class ReviewCommandManager { private projectPath; private statusManager; private rl; private currentSession; constructor(projectPath: string); /** * Start interactive review session */ startReviewSession(options?: ReviewOptions): Promise; /** * Main review loop */ private reviewLoop; /** * Display translation entry with context and diff highlighting */ private displayEntry; /** * Get user review action */ private getReviewAction; /** * Process the review action */ private processReviewAction; /** * Approve entry (mark as reviewed) */ private approveEntry; /** * Edit entry text */ private editEntry; /** * Reject entry (keep as machine status with notes) */ private rejectEntry; /** * Skip entry for later review */ private skipEntry; /** * Lock entry to prevent changes */ private lockEntry; /** * Show detailed entry information */ private showEntryInfo; /** * Display help information */ private showHelp; /** * Utility methods */ private formatStatus; private createProgressBar; private displayDiff; private getQualityScore; private getReviewNotes; private getInput; private waitForKeyPress; private updateProgress; private selectLanguage; private loadReviewEntries; private completeSession; private saveSession; } /** * CLI entry point for review command */ export declare function executeReviewCommand(projectPath: string, options?: ReviewOptions): Promise; //# sourceMappingURL=review-command.d.ts.map