/** * Capability validation — checks that referenced plugins exist. * * Validates at workflow creation/update time that every tool step's plugin * directory and built MCP server exist. If any capability is missing, the * workflow is set to 'draft'. */ import type { StepDefinition } from "./step-resolver.js"; export interface ValidationResult { valid: boolean; errors: StepValidationError[]; } export interface StepValidationError { stepId: string; label: string; plugin: string; tool: string; reason: string; } /** * Validate that every step's referenced capabilities exist. * All steps are tool steps after task 127 — the legacy LLM-step branch is gone. */ export declare function validateCapabilities(steps: StepDefinition[], platformRoot: string): ValidationResult; //# sourceMappingURL=validate-capabilities.d.ts.map