/**
 * Status Line Validator
 *
 * Detects and reports when status line cache is out of sync with tasks.md.
 *
 * Critical for ensuring status line always reflects reality.
 */
import { Logger } from '../utils/logger.js';
export interface ValidationResult {
    isValid: boolean;
    incrementId: string;
    actual: {
        completedTasks: number;
        totalTasks: number;
        percentage: number;
    };
    frontmatter: {
        completedTasks: number;
        totalTasks: number;
    };
    cache: {
        completedTasks: number;
        totalTasks: number;
        percentage: number;
        lastUpdate: string;
    };
    issues: string[];
}
export declare class StatusLineValidator {
    private logger;
    constructor(options?: {
        logger?: Logger;
    });
    /**
     * Validate status line for a specific increment
     */
    validateIncrement(projectRoot: string, incrementId: string): Promise<ValidationResult>;
    /**
     * Validate all active increments
     */
    validateAll(projectRoot: string): Promise<ValidationResult[]>;
    /**
     * Count actual task completions by parsing tasks.md
     */
    private countActualCompletions;
    /**
     * Parse frontmatter from tasks.md
     */
    private parseFrontmatter;
    /**
     * Read status line cache
     */
    private readCache;
    /**
     * Generate validation report
     */
    generateReport(results: ValidationResult[]): string;
}
/**
 * CLI entry point for validation
 */
export declare function main(): Promise<void>;
//# sourceMappingURL=status-line-validator.d.ts.map