import type { ICoordinatorContext, IPlanningStrategy, ISkillMeta, Plan, PlanStep, StepResult } from '@mcp-abap-adt/llm-agent'; /** * Use explicit `steps:` from the active skill's frontmatter when present. * * Reads `ctx.activeSkillMeta` — populated by `CoordinatorHandler` from the * first selected skill that declares structured `steps:`. Throws if no * structured skill is active so callers can wrap this strategy with a * fallback (e.g. `OneShotPlanning`) when graceful degradation is needed. * * For YAML users: `coordinator.planning: skill-steps` activates this * strategy directly — no resolver argument required. * * For programmatic users that need a custom resolver (e.g. reading the * skill meta from a non-default source), pass a function via the * constructor — it takes precedence over `ctx.activeSkillMeta`. */ export declare class SkillStepsPlanning implements IPlanningStrategy { private readonly resolveSkillMeta; readonly name = "skill-steps"; constructor(resolveSkillMeta?: (ctx: ICoordinatorContext) => ISkillMeta | undefined); buildInitialPlan(ctx: ICoordinatorContext): Promise; shouldReplan(_ctx: ICoordinatorContext, _lastResult: StepResult): boolean; rebuildPlan(_ctx: ICoordinatorContext, remaining: PlanStep[]): Promise; } //# sourceMappingURL=skill-steps.d.ts.map