/** * Zod schemas for the admin MCP server tools. * * Each schema mirrors the exact parameter shape of the corresponding * REST API route handler. When a route accepts `req.query.status`, * the schema has `status: z.string().optional()`. When a route * reads `req.body.roles`, the schema has `roles: z.array(...)`. * * Schemas are extracted here (rather than inline) to avoid TS2589 * deep-instantiation errors in the registerTool() generic. */ import { z } from 'zod'; export declare const findTasksSchema: z.ZodObject<{ status: z.ZodOptional; workflow_type: z.ZodOptional; workflow_id: z.ZodOptional; origin_id: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; status?: string | undefined; workflow_type?: string | undefined; workflow_id?: string | undefined; origin_id?: string | undefined; }, { status?: string | undefined; workflow_type?: string | undefined; workflow_id?: string | undefined; origin_id?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const getProcessDetailSchema: z.ZodObject<{ origin_id: z.ZodString; }, "strip", z.ZodTypeAny, { origin_id: string; }, { origin_id: string; }>; export declare const findEscalationsSchema: z.ZodObject<{ status: z.ZodOptional>; role: z.ZodOptional; type: z.ZodOptional; subtype: z.ZodOptional; assigned_to: z.ZodOptional; search: z.ZodOptional; priority: z.ZodOptional; sort_by: z.ZodOptional>; order: z.ZodOptional>; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; role?: string | undefined; status?: "pending" | "cancelled" | "resolved" | undefined; type?: string | undefined; search?: string | undefined; priority?: number | undefined; assigned_to?: string | undefined; subtype?: string | undefined; sort_by?: "created_at" | "updated_at" | "priority" | undefined; order?: "asc" | "desc" | undefined; }, { role?: string | undefined; status?: "pending" | "cancelled" | "resolved" | undefined; type?: string | undefined; search?: string | undefined; limit?: number | undefined; offset?: number | undefined; priority?: number | undefined; assigned_to?: string | undefined; subtype?: string | undefined; sort_by?: "created_at" | "updated_at" | "priority" | undefined; order?: "asc" | "desc" | undefined; }>; export declare const getEscalationSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const getEscalationsByWorkflowSchema: z.ZodObject<{ workflow_id: z.ZodString; }, "strip", z.ZodTypeAny, { workflow_id: string; }, { workflow_id: string; }>; export declare const getEscalationStatsSchema: z.ZodObject<{ period: z.ZodOptional; }, "strip", z.ZodTypeAny, { period?: string | undefined; }, { period?: string | undefined; }>; export declare const claimEscalationSchema: z.ZodObject<{ id: z.ZodString; duration_minutes: z.ZodDefault>; }, "strip", z.ZodTypeAny, { id: string; duration_minutes: number; }, { id: string; duration_minutes?: number | undefined; }>; export declare const releaseEscalationSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const resolveEscalationSchema: z.ZodObject<{ id: z.ZodString; resolverPayload: z.ZodRecord; }, "strip", z.ZodTypeAny, { id: string; resolverPayload: Record; }, { id: string; resolverPayload: Record; }>; export declare const resolveBySignalKeySchema: z.ZodObject<{ signalKey: z.ZodString; resolverPayload: z.ZodRecord; }, "strip", z.ZodTypeAny, { signalKey: string; resolverPayload: Record; }, { signalKey: string; resolverPayload: Record; }>; export declare const escalateEscalationSchema: z.ZodObject<{ id: z.ZodString; targetRole: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; targetRole: string; }, { id: string; targetRole: string; }>; export declare const cancelEscalationSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const bulkCancelSchema: z.ZodObject<{ ids: z.ZodArray; }, "strip", z.ZodTypeAny, { ids: string[]; }, { ids: string[]; }>; export declare const releaseExpiredClaimsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const bulkTriageSchema: z.ZodObject<{ ids: z.ZodArray; hint: z.ZodOptional; }, "strip", z.ZodTypeAny, { ids: string[]; hint?: string | undefined; }, { ids: string[]; hint?: string | undefined; }>; export declare const listWorkflowConfigsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const upsertWorkflowConfigSchema: z.ZodObject<{ workflow_type: z.ZodString; invocable: z.ZodDefault>; task_queue: z.ZodDefault>>; default_role: z.ZodDefault>; description: z.ZodDefault>>; execute_as: z.ZodDefault>>; roles: z.ZodDefault>>; invocation_roles: z.ZodDefault>>; consumes: z.ZodDefault>>; tool_tags: z.ZodDefault>>; envelope_schema: z.ZodDefault>>>; resolver_schema: z.ZodDefault>>>; cron_schedule: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { workflow_type: string; invocable: boolean; task_queue: string | null; default_role: string; description: string | null; roles: string[]; invocation_roles: string[]; consumes: string[]; tool_tags: string[]; envelope_schema: Record | null; resolver_schema: Record | null; cron_schedule: string | null; execute_as: string | null; }, { workflow_type: string; invocable?: boolean | undefined; task_queue?: string | null | undefined; default_role?: string | undefined; description?: string | null | undefined; roles?: string[] | undefined; invocation_roles?: string[] | undefined; consumes?: string[] | undefined; tool_tags?: string[] | undefined; envelope_schema?: Record | null | undefined; resolver_schema?: Record | null | undefined; cron_schedule?: string | null | undefined; execute_as?: string | null | undefined; }>; export declare const deleteWorkflowConfigSchema: z.ZodObject<{ workflow_type: z.ZodString; }, "strip", z.ZodTypeAny, { workflow_type: string; }, { workflow_type: string; }>; export declare const listDiscoveredWorkflowsSchema: z.ZodObject<{ include_system: z.ZodDefault>; }, "strip", z.ZodTypeAny, { include_system: boolean; }, { include_system?: boolean | undefined; }>; export declare const invokeWorkflowSchema: z.ZodObject<{ workflow_type: z.ZodString; data: z.ZodRecord; metadata: z.ZodOptional>; execute_as: z.ZodOptional; }, "strip", z.ZodTypeAny, { data: Record; workflow_type: string; execute_as?: string | undefined; metadata?: Record | undefined; }, { data: Record; workflow_type: string; execute_as?: string | undefined; metadata?: Record | undefined; }>; export declare const getWorkflowStatusSchema: z.ZodObject<{ workflow_id: z.ZodString; app_id: z.ZodOptional; }, "strip", z.ZodTypeAny, { workflow_id: string; app_id?: string | undefined; }, { workflow_id: string; app_id?: string | undefined; }>; export declare const listMcpServersSchema: z.ZodObject<{ status: z.ZodOptional; tags: z.ZodOptional; search: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; status?: string | undefined; tags?: string | undefined; search?: string | undefined; }, { status?: string | undefined; tags?: string | undefined; search?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const updateMcpServerSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; description: z.ZodOptional; tags: z.ZodOptional>; auto_connect: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; name?: string | undefined; description?: string | undefined; tags?: string[] | undefined; auto_connect?: boolean | undefined; }, { id: string; name?: string | undefined; description?: string | undefined; tags?: string[] | undefined; auto_connect?: boolean | undefined; }>; export declare const connectMcpServerSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const disconnectMcpServerSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const listYamlWorkflowsSchema: z.ZodObject<{ status: z.ZodOptional; app_id: z.ZodOptional; search: z.ZodOptional; source_workflow_id: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; status?: string | undefined; app_id?: string | undefined; source_workflow_id?: string | undefined; search?: string | undefined; }, { status?: string | undefined; app_id?: string | undefined; source_workflow_id?: string | undefined; search?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const getYamlWorkflowSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const createYamlWorkflowSchema: z.ZodObject<{ workflow_id: z.ZodString; task_queue: z.ZodString; workflow_name: z.ZodString; name: z.ZodString; description: z.ZodOptional; app_id: z.ZodOptional; tags: z.ZodOptional>; compilation_feedback: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; task_queue: string; workflow_id: string; workflow_name: string; description?: string | undefined; app_id?: string | undefined; tags?: string[] | undefined; compilation_feedback?: string | undefined; }, { name: string; task_queue: string; workflow_id: string; workflow_name: string; description?: string | undefined; app_id?: string | undefined; tags?: string[] | undefined; compilation_feedback?: string | undefined; }>; export declare const deployYamlWorkflowSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const invokeYamlWorkflowSchema: z.ZodObject<{ id: z.ZodString; data: z.ZodDefault>>; sync: z.ZodDefault>; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { data: Record; id: string; sync: boolean; timeout?: number | undefined; }, { id: string; data?: Record | undefined; timeout?: number | undefined; sync?: boolean | undefined; }>; export declare const listUsersSchema: z.ZodObject<{ role: z.ZodOptional; status: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; role?: string | undefined; status?: string | undefined; }, { role?: string | undefined; status?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const createUserSchema: z.ZodObject<{ external_id: z.ZodString; display_name: z.ZodOptional; email: z.ZodOptional; roles: z.ZodDefault; }, "strip", z.ZodTypeAny, { role: string; type: "admin" | "member" | "superadmin"; }, { role: string; type: "admin" | "member" | "superadmin"; }>, "many">>>; }, "strip", z.ZodTypeAny, { roles: { role: string; type: "admin" | "member" | "superadmin"; }[]; external_id: string; email?: string | undefined; display_name?: string | undefined; }, { external_id: string; roles?: { role: string; type: "admin" | "member" | "superadmin"; }[] | undefined; email?: string | undefined; display_name?: string | undefined; }>; export declare const addUserRoleSchema: z.ZodObject<{ user_id: z.ZodString; role: z.ZodString; type: z.ZodEnum<["superadmin", "admin", "member"]>; }, "strip", z.ZodTypeAny, { role: string; type: "admin" | "member" | "superadmin"; user_id: string; }, { role: string; type: "admin" | "member" | "superadmin"; user_id: string; }>; export declare const removeUserRoleSchema: z.ZodObject<{ user_id: z.ZodString; role: z.ZodString; }, "strip", z.ZodTypeAny, { role: string; user_id: string; }, { role: string; user_id: string; }>; export declare const listRolesSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const createRoleSchema: z.ZodObject<{ role: z.ZodString; }, "strip", z.ZodTypeAny, { role: string; }, { role: string; }>; export declare const addEscalationChainSchema: z.ZodObject<{ source_role: z.ZodString; target_role: z.ZodString; }, "strip", z.ZodTypeAny, { source_role: string; target_role: string; }, { source_role: string; target_role: string; }>; export declare const pruneSchema: z.ZodObject<{ app_id: z.ZodDefault>; expire: z.ZodDefault>; jobs: z.ZodDefault>; streams: z.ZodDefault>; entities: z.ZodOptional>; prune_transient: z.ZodDefault>; }, "strip", z.ZodTypeAny, { streams: boolean; jobs: boolean; expire: string; app_id: string; prune_transient: boolean; entities?: string[] | undefined; }, { streams?: boolean | undefined; jobs?: boolean | undefined; expire?: string | undefined; entities?: string[] | undefined; app_id?: string | undefined; prune_transient?: boolean | undefined; }>; export declare const listAgentsSchema: z.ZodObject<{ status: z.ZodOptional; knowledge_domain: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; status?: string | undefined; knowledge_domain?: string | undefined; }, { status?: string | undefined; limit?: number | undefined; offset?: number | undefined; knowledge_domain?: string | undefined; }>; export declare const getAgentSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const createAgentSchema: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; goals: z.ZodOptional>; rules: z.ZodOptional>; status: z.ZodOptional; knowledge_domain: z.ZodOptional; schedules: z.ZodOptional>; subscriptions: z.ZodOptional>; }, "strip", z.ZodTypeAny, { id: string; status?: string | undefined; rules?: string[] | undefined; description?: string | undefined; knowledge_domain?: string | undefined; goals?: string[] | undefined; schedules?: any[] | undefined; subscriptions?: any[] | undefined; }, { id: string; status?: string | undefined; rules?: string[] | undefined; description?: string | undefined; knowledge_domain?: string | undefined; goals?: string[] | undefined; schedules?: any[] | undefined; subscriptions?: any[] | undefined; }>; export declare const updateAgentSchema: z.ZodObject<{ id: z.ZodString; description: z.ZodOptional; goals: z.ZodOptional>; rules: z.ZodOptional>; status: z.ZodOptional; knowledge_domain: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; status?: string | undefined; rules?: string[] | undefined; description?: string | undefined; knowledge_domain?: string | undefined; goals?: string[] | undefined; }, { id: string; status?: string | undefined; rules?: string[] | undefined; description?: string | undefined; knowledge_domain?: string | undefined; goals?: string[] | undefined; }>; export declare const deleteAgentSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const listAgentSubscriptionsSchema: z.ZodObject<{ agent_id: z.ZodString; }, "strip", z.ZodTypeAny, { agent_id: string; }, { agent_id: string; }>; export declare const createAgentSubscriptionSchema: z.ZodObject<{ agent_id: z.ZodString; topic: z.ZodString; reaction_type: z.ZodString; workflow_type: z.ZodOptional; pipeline_id: z.ZodOptional; mcp_prompt: z.ZodOptional; input_mapping: z.ZodOptional>; filter: z.ZodOptional>; execute_as: z.ZodOptional; }, "strip", z.ZodTypeAny, { agent_id: string; topic: string; reaction_type: string; filter?: Record | undefined; workflow_type?: string | undefined; execute_as?: string | undefined; pipeline_id?: string | undefined; mcp_prompt?: string | undefined; input_mapping?: Record | undefined; }, { agent_id: string; topic: string; reaction_type: string; filter?: Record | undefined; workflow_type?: string | undefined; execute_as?: string | undefined; pipeline_id?: string | undefined; mcp_prompt?: string | undefined; input_mapping?: Record | undefined; }>; export declare const deleteAgentSubscriptionSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const listBotsSchema: z.ZodObject<{ limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; }, { limit?: number | undefined; offset?: number | undefined; }>; export declare const getBotSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const createBotSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; display_name: z.ZodOptional; roles: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { name: string; description?: string | undefined; roles?: { role: string; type: string; }[] | undefined; display_name?: string | undefined; }, { name: string; description?: string | undefined; roles?: { role: string; type: string; }[] | undefined; display_name?: string | undefined; }>; export declare const updateBotSchema: z.ZodObject<{ id: z.ZodString; display_name: z.ZodOptional; description: z.ZodOptional; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; status?: string | undefined; description?: string | undefined; display_name?: string | undefined; }, { id: string; status?: string | undefined; description?: string | undefined; display_name?: string | undefined; }>; export declare const deleteBotSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; export declare const createBotApiKeySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; scopes: z.ZodOptional>; expires_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; id: string; scopes?: string[] | undefined; expires_at?: string | undefined; }, { name: string; id: string; scopes?: string[] | undefined; expires_at?: string | undefined; }>; export declare const revokeBotKeySchema: z.ZodObject<{ key_id: z.ZodString; }, "strip", z.ZodTypeAny, { key_id: string; }, { key_id: string; }>; export declare const listAppsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const rollCallSchema: z.ZodObject<{ app_id: z.ZodDefault>; delay: z.ZodOptional; }, "strip", z.ZodTypeAny, { app_id: string; delay?: number | undefined; }, { app_id?: string | undefined; delay?: number | undefined; }>; export declare const applyThrottleSchema: z.ZodObject<{ appId: z.ZodDefault>; throttle: z.ZodNumber; topic: z.ZodOptional; guid: z.ZodOptional; scope: z.ZodOptional; }, "strip", z.ZodTypeAny, { appId: string; throttle: number; topic?: string | undefined; guid?: string | undefined; scope?: string | undefined; }, { throttle: number; appId?: string | undefined; topic?: string | undefined; guid?: string | undefined; scope?: string | undefined; }>; export declare const getStreamStatsSchema: z.ZodObject<{ app_id: z.ZodDefault>; duration: z.ZodOptional; stream: z.ZodOptional; }, "strip", z.ZodTypeAny, { app_id: string; duration?: string | undefined; stream?: string | undefined; }, { app_id?: string | undefined; duration?: string | undefined; stream?: string | undefined; }>; export declare const listStreamMessagesSchema: z.ZodObject<{ namespace: z.ZodDefault>; source: z.ZodString; limit: z.ZodDefault>; offset: z.ZodDefault>; sort_by: z.ZodOptional; order: z.ZodOptional>; status: z.ZodOptional; stream_name: z.ZodOptional; msg_type: z.ZodOptional; topic: z.ZodOptional; workflow_name: z.ZodOptional; jid: z.ZodOptional; aid: z.ZodOptional; }, "strip", z.ZodTypeAny, { limit: number; offset: number; source: string; namespace: string; status?: string | undefined; workflow_name?: string | undefined; jid?: string | undefined; topic?: string | undefined; sort_by?: string | undefined; order?: "asc" | "desc" | undefined; stream_name?: string | undefined; msg_type?: string | undefined; aid?: string | undefined; }, { source: string; status?: string | undefined; limit?: number | undefined; offset?: number | undefined; workflow_name?: string | undefined; jid?: string | undefined; topic?: string | undefined; namespace?: string | undefined; sort_by?: string | undefined; order?: "asc" | "desc" | undefined; stream_name?: string | undefined; msg_type?: string | undefined; aid?: string | undefined; }>; export declare const listPipelineEntitiesSchema: z.ZodObject<{ app_id: z.ZodDefault>; }, "strip", z.ZodTypeAny, { app_id: string; }, { app_id?: string | undefined; }>; export declare const listPipelineJobsSchema: z.ZodObject<{ app_id: z.ZodDefault>; limit: z.ZodDefault>; offset: z.ZodDefault>; entity: z.ZodOptional; search: z.ZodOptional; status: z.ZodOptional; sort_by: z.ZodOptional; order: z.ZodOptional>; }, "strip", z.ZodTypeAny, { app_id: string; limit: number; offset: number; status?: string | undefined; entity?: string | undefined; search?: string | undefined; sort_by?: string | undefined; order?: "asc" | "desc" | undefined; }, { status?: string | undefined; app_id?: string | undefined; entity?: string | undefined; search?: string | undefined; limit?: number | undefined; offset?: number | undefined; sort_by?: string | undefined; order?: "asc" | "desc" | undefined; }>; export declare const getJobExecutionSchema: z.ZodObject<{ job_id: z.ZodString; app_id: z.ZodDefault>; }, "strip", z.ZodTypeAny, { app_id: string; job_id: string; }, { job_id: string; app_id?: string | undefined; }>; export declare const interruptJobSchema: z.ZodObject<{ job_id: z.ZodString; topic: z.ZodString; app_id: z.ZodDefault>; }, "strip", z.ZodTypeAny, { app_id: string; job_id: string; topic: string; }, { job_id: string; topic: string; app_id?: string | undefined; }>; export declare const listTopicsSchema: z.ZodObject<{ category: z.ZodOptional; search: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { limit: number; offset: number; category?: string | undefined; search?: string | undefined; }, { category?: string | undefined; search?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const getTopicSchema: z.ZodObject<{ topic: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; }, { topic: string; }>; export declare const createTopicSchema: z.ZodObject<{ topic: z.ZodString; category: z.ZodString; description: z.ZodOptional; payload_schema: z.ZodOptional>; example_payload: z.ZodOptional>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { category: string; topic: string; description?: string | undefined; tags?: string[] | undefined; payload_schema?: Record | undefined; example_payload?: Record | undefined; }, { category: string; topic: string; description?: string | undefined; tags?: string[] | undefined; payload_schema?: Record | undefined; example_payload?: Record | undefined; }>; export declare const updateTopicSchema: z.ZodObject<{ topic: z.ZodString; description: z.ZodOptional; category: z.ZodOptional; payload_schema: z.ZodOptional>; example_payload: z.ZodOptional>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { topic: string; description?: string | undefined; tags?: string[] | undefined; category?: string | undefined; payload_schema?: Record | undefined; example_payload?: Record | undefined; }, { topic: string; description?: string | undefined; tags?: string[] | undefined; category?: string | undefined; payload_schema?: Record | undefined; example_payload?: Record | undefined; }>; export declare const deleteTopicSchema: z.ZodObject<{ topic: z.ZodString; }, "strip", z.ZodTypeAny, { topic: string; }, { topic: string; }>; export declare const findByMetadataSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodString; status: z.ZodOptional; limit: z.ZodDefault>; offset: z.ZodDefault>; }, "strip", z.ZodTypeAny, { value: string; key: string; limit: number; offset: number; status?: string | undefined; }, { value: string; key: string; status?: string | undefined; limit?: number | undefined; offset?: number | undefined; }>; export declare const claimByMetadataSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodString; durationMinutes: z.ZodOptional; assignee: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { value: string; key: string; metadata?: Record | undefined; durationMinutes?: number | undefined; assignee?: string | undefined; }, { value: string; key: string; metadata?: Record | undefined; durationMinutes?: number | undefined; assignee?: string | undefined; }>; export declare const resolveByMetadataSchema: z.ZodObject<{ key: z.ZodString; value: z.ZodString; resolverPayload: z.ZodRecord; assignee: z.ZodOptional; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { value: string; key: string; resolverPayload: Record; metadata?: Record | undefined; assignee?: string | undefined; }, { value: string; key: string; resolverPayload: Record; metadata?: Record | undefined; assignee?: string | undefined; }>; export declare const bulkClaimSchema: z.ZodObject<{ ids: z.ZodArray; durationMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { ids: string[]; durationMinutes?: number | undefined; }, { ids: string[]; durationMinutes?: number | undefined; }>; export declare const bulkAssignSchema: z.ZodObject<{ ids: z.ZodArray; targetUserId: z.ZodString; durationMinutes: z.ZodOptional; }, "strip", z.ZodTypeAny, { ids: string[]; targetUserId: string; durationMinutes?: number | undefined; }, { ids: string[]; targetUserId: string; durationMinutes?: number | undefined; }>; export declare const bulkEscalateSchema: z.ZodObject<{ ids: z.ZodArray; targetRole: z.ZodString; }, "strip", z.ZodTypeAny, { ids: string[]; targetRole: string; }, { ids: string[]; targetRole: string; }>; export declare const updatePrioritySchema: z.ZodObject<{ ids: z.ZodArray; priority: z.ZodNumber; }, "strip", z.ZodTypeAny, { priority: number; ids: string[]; }, { priority: number; ids: string[]; }>; export declare const getSettingsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const listExportJobsSchema: z.ZodObject<{ app_id: z.ZodDefault>; limit: z.ZodDefault>; offset: z.ZodDefault>; entity: z.ZodOptional; search: z.ZodOptional; status: z.ZodOptional; sort_by: z.ZodOptional; order: z.ZodOptional>; registered: z.ZodOptional; }, "strip", z.ZodTypeAny, { app_id: string; limit: number; offset: number; status?: string | undefined; registered?: string | undefined; entity?: string | undefined; search?: string | undefined; sort_by?: string | undefined; order?: "asc" | "desc" | undefined; }, { status?: string | undefined; registered?: string | undefined; app_id?: string | undefined; entity?: string | undefined; search?: string | undefined; limit?: number | undefined; offset?: number | undefined; sort_by?: string | undefined; order?: "asc" | "desc" | undefined; }>; export declare const exportWorkflowStateSchema: z.ZodObject<{ workflow_id: z.ZodString; allow: z.ZodOptional>; block: z.ZodOptional>; values: z.ZodOptional>; }, "strip", z.ZodTypeAny, { workflow_id: string; values?: Record | undefined; allow?: string[] | undefined; block?: string[] | undefined; }, { workflow_id: string; values?: Record | undefined; allow?: string[] | undefined; block?: string[] | undefined; }>; export declare const exportWorkflowExecutionSchema: z.ZodObject<{ workflow_id: z.ZodString; excludeSystem: z.ZodOptional; omitResults: z.ZodOptional; mode: z.ZodOptional; maxDepth: z.ZodOptional; }, "strip", z.ZodTypeAny, { workflow_id: string; excludeSystem?: boolean | undefined; omitResults?: boolean | undefined; mode?: string | undefined; maxDepth?: number | undefined; }, { workflow_id: string; excludeSystem?: boolean | undefined; omitResults?: boolean | undefined; mode?: string | undefined; maxDepth?: number | undefined; }>; export declare const getExportStatusSchema: z.ZodObject<{ workflow_id: z.ZodString; }, "strip", z.ZodTypeAny, { workflow_id: string; }, { workflow_id: string; }>; export declare const diagnoseJobSchema: z.ZodObject<{ workflow_id: z.ZodString; app_id: z.ZodDefault>; max_events: z.ZodDefault>; include: z.ZodOptional, "many">>; verbosity: z.ZodOptional>; }, "strip", z.ZodTypeAny, { app_id: string; workflow_id: string; max_events: number; include?: ("streams" | "events")[] | undefined; verbosity?: "summary" | "full" | undefined; }, { workflow_id: string; app_id?: string | undefined; max_events?: number | undefined; include?: ("streams" | "events")[] | undefined; verbosity?: "summary" | "full" | undefined; }>; export declare const findStalledJobsSchema: z.ZodObject<{ app_id: z.ZodDefault>; idle_minutes: z.ZodDefault>; workflow_type: z.ZodOptional; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { app_id: string; limit: number; idle_minutes: number; workflow_type?: string | undefined; }, { workflow_type?: string | undefined; app_id?: string | undefined; limit?: number | undefined; idle_minutes?: number | undefined; }>; export declare const findOrphanedSignalsSchema: z.ZodObject<{ app_id: z.ZodDefault>; within_hours: z.ZodDefault>; limit: z.ZodDefault>; }, "strip", z.ZodTypeAny, { app_id: string; limit: number; within_hours: number; }, { app_id?: string | undefined; limit?: number | undefined; within_hours?: number | undefined; }>;