import { Agent } from "./agent.js";
import { Task } from "../tasks/task.js";
export interface DelegationCheckResult {
    canDelegate: boolean;
    reason?: string;
}
export declare function checkDelegationValidity(agent: Agent, task: Task): DelegationCheckResult;
export declare function updateDelegationChain(task: Task, agent: Agent): void;
/**
Basic delegation quality assessment:
Outputs starting with DELEGATE(...) and lacking meaningful content are considered weak.
If weak, the score is reduced and retry is recommended. */
export interface DelegationScoreResult {
    isWeak: boolean;
    reason?: string;
    score?: number;
}
export declare function checkDelegationScore(output: string): DelegationScoreResult;
