export type PlanKind = "plan" | "pipeline" | "superintendent" | "experiment"; export type DispatchSpec = { kind: "agent"; agent: string; prompt: string; } | { kind: "pipeline" | "superintendent" | "experiment"; agent: string; model: string; planPath: string; }; export declare class UnsupportedPlanKindError extends Error { constructor(planKind: unknown); } export declare function resolveDispatch(input: { planKind: PlanKind; planBody: string; planPath: string; agent: string; model: string; }): DispatchSpec;