import type { Command } from 'commander'; import { type GuardContext } from './shared.js'; type WorkflowAdvanceBlockerType = 'required_fields' | 'required_node_fields' | 'required_roles' | 'required_owner' | 'required_schedule' | 'required_subtasks' | 'required_deliverables' | 'permission_denied' | 'intercepted' | 'transitioning' | 'workitem_aborted' | 'unknown'; export declare function inspectWorkflowNodePreflight(ctx: GuardContext, args: { projectKey: string; type: string; id: number; nodeId: string; timeZone?: string; }): Promise<{ target: { project_key: string; work_item_type_key: string; work_item_id: number; node_id: string; state_key?: string; node_name: string; status: number; owner_usage_mode?: number; }; available_nodes: Array<{ id: string; state_key?: string; name: string; status: number; owner_usage_mode?: number; }>; required_info: { degraded: boolean; blocker_type?: WorkflowAdvanceBlockerType; task_ids: number[]; deliverable_ids: number[]; field_keys: string[]; need_owner: boolean; need_schedule: boolean; need_roles: boolean; }; readiness: { can_update: boolean; can_operate: boolean | null; }; meta_fields: Array<{ field_key: string; field_name: string; field_type_key: string; field_alias?: string; options?: unknown; default_value?: unknown; work_item_relation?: unknown; }>; suggested_commands: { workflow_query: string; required_info: string; workitem_meta: string; node_update: string; node_operate_confirm: string; node_operate_rollback: string; }; time_context: { effective_time_zone?: string; default_source: 'cli' | 'profile' | 'system'; date_only_rule: string; }; }>; export declare function registerWorkflow(program: Command): void; export {};