import type { CronJob, CronTaskGraphRepairPlan, CronRunPolicyTelemetry, CronRunStatus, CronTaskEvaluatorDecision, CronTaskPendingEscalation, CronTaskPendingCoordination } from "./types.js";
type TaskEvaluatorRepairResult = {
    graphRepair?: CronTaskGraphRepairPlan;
    graphRepairs?: CronTaskGraphRepairPlan[];
    decision: CronTaskEvaluatorDecision;
    clearPending?: boolean;
    pendingEscalation?: CronTaskPendingEscalation;
    pendingCoordination?: CronTaskPendingCoordination;
    disable?: {
        stopReason: string;
    };
    refireSoon?: boolean;
    autoStopSourceNodeIds?: string[];
    state?: Partial<Pick<CronJob["state"], "evaluatorConsecutiveNoSignalRuns" | "evaluatorLastSignal" | "evaluatorLastSignalAtMs" | "evaluatorSourceRetryRuns" | "evaluatorCoordinationRuns" | "lastGraphRepairStop">>;
};
export declare function buildCheapCheckInstruction(job: CronJob): string | undefined;
export declare function buildEscalationInstruction(pending: CronTaskPendingEscalation): string;
export declare function evaluateTaskRunForEscalation(params: {
    job: CronJob;
    result: {
        status: CronRunStatus;
        summary?: string;
        outputText?: string;
        policy?: CronRunPolicyTelemetry;
    };
    nowMs: number;
}): TaskEvaluatorRepairResult | undefined;
export {};
