import type { DelegationDecision, DependencyReport, EventEntry, LockEntry, Role, SkillPlan, Task } from "./types.js"; export interface DelegationDecisionInput { task: Task; dependencies: DependencyReport; locks: LockEntry[]; roles: Role[]; events: EventEntry[]; skills?: SkillPlan; } export declare function decideDelegation(input: DelegationDecisionInput): DelegationDecision; export declare function decideTaskDelegation(taskId: string, root?: string, { record }?: { record?: boolean; }): Promise; export declare function latestDelegationDecision(events: EventEntry[]): DelegationDecision | undefined;