import type { CronTaskExecutionPolicy, CronTaskGraphRepairPlan, CronTaskPlannerStrategy, CronTaskTrustedSource } from "./types.js";
type TaskPlannerInput = {
    name?: string;
    message?: string;
    policy?: CronTaskExecutionPolicy;
    trustedSources?: CronTaskTrustedSource[];
};
export declare const SOURCE_REPAIR_NODE_IDS: Record<CronTaskGraphRepairPlan["toolName"], string>;
export declare const SOURCE_REPAIR_WEB_SEARCH_NODE_ID: string;
export declare function sourceRepairNodeIdForTool(toolName: CronTaskGraphRepairPlan["toolName"], replacesNodeId?: string): string;
export declare function withTaskCoordinationRequest(params: {
    policy?: CronTaskExecutionPolicy;
    message: string;
    agents: string[];
    mode?: "consult" | "parallel";
    requireApproval?: boolean;
}): CronTaskExecutionPolicy;
export declare function stopSourcePathInPolicy(policy: CronTaskExecutionPolicy | undefined, sourceNodeId: string): {
    applied: boolean;
    reason: string;
    graphRevision?: number;
    parentRevision?: number;
    repairRevision?: number;
};
export declare function applySourceGraphRepairToPolicy(policy: CronTaskExecutionPolicy | undefined, repair: CronTaskGraphRepairPlan): {
    applied: boolean;
    reason: string;
    graphRevision?: number;
    parentRevision?: number;
    repairRevision?: number;
};
export declare function planTaskExecutionPolicy(input: TaskPlannerInput): CronTaskExecutionPolicy;
export declare function choosePlannerModelRef(params: {
    strategy?: CronTaskPlannerStrategy;
    candidates: string[];
}): string | undefined;
export {};
