import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { z } from 'zod'; import { CplaceApiClient } from '../api.js'; export declare const WORKFLOW_TOOL_DEFINITIONS: { readonly cplace_manage_workflow_state: { readonly description: "Create or update workflow states with specified display properties. State internal names must be unique within the workflow and are immutable after creation."; readonly inputSchema: { readonly operation: z.ZodEnum<["create", "update"]>; readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly attributeName: z.ZodString; readonly internalName: z.ZodOptional; readonly stateInternalName: z.ZodOptional; readonly displayNames: z.ZodOptional>; readonly icon: z.ZodOptional; readonly color: z.ZodOptional; readonly isDefault: z.ZodOptional; }; readonly annotations: { readonly title: "Manage Workflow State"; }; }; readonly cplace_delete_workflow_state: { readonly description: "Remove a workflow state and all transitions involving it. Does NOT migrate existing pages - pages in the deleted state become uneditable (but remain readable). Returns warning with affected page count. Fixed states (isFixed=true) and default states (isDefault=true) cannot be deleted."; readonly inputSchema: { readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly attributeName: z.ZodString; readonly stateInternalName: z.ZodString; }; readonly annotations: { readonly title: "Delete Workflow State"; }; }; readonly cplace_manage_workflow_transition: { readonly description: "Create or update workflow transitions between states with specified display properties. Both state names must exist in the workflow. Transitions are uniquely identified by the composite key (previousStateName, nextStateName)."; readonly inputSchema: { readonly operation: z.ZodEnum<["create", "update"]>; readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly attributeName: z.ZodString; readonly previousStateName: z.ZodString; readonly nextStateName: z.ZodString; readonly displayNames: z.ZodOptional>; readonly icon: z.ZodOptional; readonly color: z.ZodOptional; readonly successMessage: z.ZodOptional; readonly confirm: z.ZodOptional; readonly executeValidators: z.ZodOptional; }; readonly annotations: { readonly title: "Manage Workflow Transition"; }; }; readonly cplace_delete_workflow_transition: { readonly description: "Remove a workflow transition. Fixed transitions (isFixed=true) cannot be deleted. Deleting a transition only removes the ability to transition between the states - it does not affect existing pages or the states themselves."; readonly inputSchema: { readonly workspaceId: z.ZodString; readonly typeInternalName: z.ZodString; readonly attributeName: z.ZodString; readonly previousStateName: z.ZodString; readonly nextStateName: z.ZodString; }; readonly annotations: { readonly title: "Delete Workflow Transition"; }; }; }; export declare function registerWorkflowTools(server: McpServer, client: CplaceApiClient): void; //# sourceMappingURL=workflow.d.ts.map