import type { StatusBlock } from "../document/parse.js"; export type WorkflowTransition = { action: "request_review"; summary: string; } | { action: "approve_completion"; } | { action: "request_changes"; feedback: string; }; type McpToolProperty = { type: "string"; description: string; enum?: Array; }; type McpToolInputSchema = { type: "object"; additionalProperties: false; properties: Record; required: string[]; }; type McpToolOutputSchema = { type: "object"; additionalProperties: false; properties: { recorded: { type: "object"; additionalProperties: false; properties: { action: McpToolProperty; }; required: ["action"]; }; }; required: ["recorded"]; }; export type McpToolDefinition = { name: "workflow_transition"; description: string; inputSchema: McpToolInputSchema; outputSchema: McpToolOutputSchema; }; export declare const workflowTransitionOutputSchema: { type: "object"; additionalProperties: false; properties: { recorded: { type: "object"; additionalProperties: false; properties: { action: { type: "string"; description: string; }; }; required: ["action"]; }; }; required: ["recorded"]; }; export declare function createWorkflowTool(role: "superintendent" | "owner", state: StatusBlock["state"]): McpToolDefinition; export declare function parseWorkflowCall(input: unknown): WorkflowTransition; export {};