import type { RuntimePreflightResult } from '../../../runtime/diagnostics/index.js';
import type { WorkflowRunEvidence } from '../../../shared/models/workflow-evidence.js';
import { type Diagnosis, type FixRecommendation, type RepairPolicy } from './types.js';
export declare function recommendFix(diagnosis: Diagnosis, evidence: WorkflowRunEvidence, policy?: Partial<RepairPolicy>, environmentPreflight?: RuntimePreflightResult): FixRecommendation;
export declare function isDirectRepairEligible(recommendation: FixRecommendation, policy: RepairPolicy, diagnosis?: Diagnosis): {
    eligible: boolean;
    reason?: string;
};
