/**
 * Build Validation System
 *
 * Ensures every component passes TypeScript, ESLint, and build checks.
 * Follows "LLM as Compiler" philosophy - validates the "compiled output".
 */
export interface ValidationResult {
    passed: boolean;
    errors: string[];
    warnings: string[];
    output?: string;
}
export interface BuildValidationResults {
    typescript: ValidationResult;
    eslint: ValidationResult;
    build: ValidationResult;
    tests?: ValidationResult;
}
export declare class BuildValidator {
    private projectPath;
    private verbose;
    constructor(projectPath: string, verbose?: boolean);
    /**
     * Run TypeScript type checking
     */
    validateTypeScript(filePath?: string): Promise<ValidationResult>;
    /**
     * Run ESLint
     */
    validateESLint(filePath?: string): Promise<ValidationResult>;
    /**
     * Run full build
     */
    validateBuild(): Promise<ValidationResult>;
    /**
     * Run tests for a component
     */
    validateTests(testPath?: string): Promise<ValidationResult>;
    /**
     * Run all validations for a component
     */
    validateComponent(componentPath: string, withTests?: boolean): Promise<BuildValidationResults>;
    /**
     * Run complete project validation
     */
    validateProject(): Promise<BuildValidationResults>;
    /**
     * Parse TypeScript errors
     */
    private parseTypeScriptErrors;
    /**
     * Parse ESLint errors
     */
    private parseESLintErrors;
    /**
     * Parse build errors
     */
    private parseBuildErrors;
    /**
     * Parse test errors
     */
    private parseTestErrors;
    /**
     * Get error context for AI retry
     */
    static extractErrorContext(validationResults: BuildValidationResults): string;
    /**
     * Format validation summary
     */
    static formatValidationSummary(results: BuildValidationResults): string;
}
//# sourceMappingURL=buildValidator.d.ts.map