import type { ReviewStats, ProjectStats } from '../../../modules/statistics-insights/entities/stats/projectStats.js';
import type { DiffStats } from '../../../modules/shared-kernel/entities/diffStats/diffStats.js';
export type { ReviewStats, ProjectStats };
/**
 * Load project statistics
 */
export declare function loadProjectStats(projectPath: string): ProjectStats;
/**
 * Save project statistics
 */
export declare function saveProjectStats(projectPath: string, stats: ProjectStats): void;
/**
 * Parse review output to extract statistics
 *
 * Supports two formats:
 * 1. Summary format (from skill output):
 *    Score global : X/10
 *    Bloquants : X
 *    Importants : X
 *
 * 2. Structured stats line:
 *    [REVIEW_STATS:blocking=X:warnings=X:suggestions=X:score=X]
 *
 * 3. Inline markers (fallback):
 *    [BLOQUANT], [IMPORTANT], [SUGGESTION]
 */
export declare function parseReviewOutput(stdout: string): {
    score: number | null;
    blocking: number;
    warnings: number;
    suggestions: number;
};
/**
 * Add a review to project statistics
 */
export declare function addReviewStats(projectPath: string, mrNumber: number, duration: number, stdout: string, assignedBy?: string, diffStats?: DiffStats | null): ReviewStats;
/**
 * Get statistics summary for display
 */
export declare function getStatsSummary(stats: ProjectStats): {
    totalReviews: number;
    totalTime: string;
    averageTime: string;
    averageScore: string;
    totalBlocking: number;
    totalWarnings: number;
    totalAdditions: number;
    totalDeletions: number;
    averageAdditions: string;
    averageDeletions: string;
    totalLinesReviewed: number;
    trend: {
        score: 'up' | 'down' | 'stable';
        blocking: 'up' | 'down' | 'stable';
    };
};
//# sourceMappingURL=statsService.d.ts.map