import type { ICoordinatorContext, IDispatchStrategy, ISubAgentContextBuilder, PlanStep, StepResult } from '@mcp-abap-adt/llm-agent'; /** * Dispatch the step to a named subagent from the registry. * If step.agent is unset or absent from registry, returns ok=false StepResult. * * When constructed with an `ISubAgentContextBuilder`, the builder is invoked * before `sub.run()` to assemble the `context` preamble. If the subagent's * `contextPolicy === 'required'` and the builder returns empty context, * dispatch returns a clean error instead of invoking the subagent. */ export declare class SubAgentDispatch implements IDispatchStrategy { private readonly contextBuilder?; readonly name = "subagent"; constructor(contextBuilder?: ISubAgentContextBuilder | undefined); dispatch(step: PlanStep, ctx: ICoordinatorContext): Promise; } //# sourceMappingURL=subagent.d.ts.map