/**
 * Vigthoria CLI — Post-Write Validator / Self-Healing Layer
 *
 * After the V3 agent writes files to the workspace, this module:
 *   1. Detects available validators (tsc, npm test, py_compile).
 *   2. Runs them in the project directory.
 *   3. Returns structured pass/fail results for each tool.
 *
 * Used by runSelfHealingCycle in api.ts to send targeted correction prompts.
 */
export interface ValidationResult {
    ran: boolean;
    tool: string;
    passed: boolean;
    output: string;
}
/**
 * Run post-write validation in the project directory.
 * Each check is time-bounded to avoid blocking the CLI.
 */
export declare function runPostWriteValidation(workspacePath: string): Promise<ValidationResult[]>;
/**
 * Build a clear error summary string from failed validation results.
 */
export declare function formatValidationErrors(results: ValidationResult[]): string;
