/** * The one shape every Workflow authoring surface reports a rejection with, and * the one way it is rendered as text. A bare "Workflow definition is invalid." * makes a large graph unauthorable — the author has to bisect it by hand — so * HTTP returns these structured, and MCP and the CLI render them inline. */ export interface WorkflowValidationIssue { code: string; message: string; nodeId?: string; edgeId?: string; path?: string; } /** `message` followed by one bullet per issue. Returns `message` unchanged when * the failure carried no issues, so every caller can render it the same way. */ export declare function describeWorkflowIssues(message: string, issues: readonly WorkflowValidationIssue[] | undefined): string; /** Read an `issues` array off an untrusted error envelope (HTTP body, MCP * response), keeping only entries that carry a usable code and message. */ export declare function parseWorkflowIssues(value: unknown): WorkflowValidationIssue[] | undefined; //# sourceMappingURL=issues.d.ts.map