/** * SubAgentHandler — delegates a task to a named sub-agent from the registry. * * Reads: `ctx.inputText` (default task template), `ctx.sessionId`, `ctx.options` * Writes: `ctx.subResults.` (or custom path via `config.outputTo`) * * Stage config: * agent: string — registry key (required) * task: string — Handlebars-style template for the task; defaults to '{{inputText}}' * outputTo: string — dot-path to write result output; defaults to `subResults.` */ import type { SubAgentRegistry } from '@mcp-abap-adt/llm-agent'; import type { ISpan } from '../../tracer/types.js'; import type { PipelineContext } from '../context.js'; import type { IStageHandler } from '../stage-handler.js'; export declare class SubAgentHandler implements IStageHandler { private readonly registry; constructor(registry: SubAgentRegistry); execute(ctx: PipelineContext, rawConfig: Record, _span: ISpan): Promise; } //# sourceMappingURL=subagent.d.ts.map