/**
 * 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<z.ZodString>;
    workflow_type: z.ZodOptional<z.ZodString>;
    workflow_id: z.ZodOptional<z.ZodString>;
    origin_id: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "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;
    limit?: number | undefined;
    offset?: number | undefined;
    origin_id?: string | 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<z.ZodEnum<["pending", "resolved"]>>;
    role: z.ZodOptional<z.ZodString>;
    type: z.ZodOptional<z.ZodString>;
    priority: z.ZodOptional<z.ZodNumber>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    limit: number;
    offset: number;
    role?: string | undefined;
    status?: "pending" | "resolved" | undefined;
    type?: string | undefined;
    priority?: number | undefined;
}, {
    role?: string | undefined;
    status?: "pending" | "resolved" | undefined;
    type?: string | undefined;
    limit?: number | undefined;
    offset?: number | undefined;
    priority?: number | undefined;
}>;
export declare const getEscalationStatsSchema: z.ZodObject<{
    period: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    period?: string | undefined;
}, {
    period?: string | undefined;
}>;
export declare const claimEscalationSchema: z.ZodObject<{
    id: z.ZodString;
    duration_minutes: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    id: string;
    duration_minutes: number;
}, {
    id: string;
    duration_minutes?: number | undefined;
}>;
export declare const releaseExpiredClaimsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
export declare const bulkTriageSchema: z.ZodObject<{
    ids: z.ZodArray<z.ZodString, "many">;
    hint: z.ZodOptional<z.ZodString>;
}, "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<z.ZodOptional<z.ZodBoolean>>;
    task_queue: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
    default_role: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    description: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
    execute_as: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
    roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
    invocation_roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
    consumes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
    tool_tags: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
    envelope_schema: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
    resolver_schema: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>>;
    cron_schedule: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
}, "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<string, any> | null;
    resolver_schema: Record<string, any> | 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<string, any> | null | undefined;
    resolver_schema?: Record<string, any> | 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<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    include_system: boolean;
}, {
    include_system?: boolean | undefined;
}>;
export declare const invokeWorkflowSchema: z.ZodObject<{
    workflow_type: z.ZodString;
    data: z.ZodRecord<z.ZodString, z.ZodAny>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
    execute_as: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
    data: Record<string, any>;
    workflow_type: string;
    execute_as?: string | undefined;
    metadata?: Record<string, any> | undefined;
}, {
    data: Record<string, any>;
    workflow_type: string;
    execute_as?: string | undefined;
    metadata?: Record<string, any> | undefined;
}>;
export declare const getWorkflowStatusSchema: z.ZodObject<{
    workflow_id: z.ZodString;
}, "strip", z.ZodTypeAny, {
    workflow_id: string;
}, {
    workflow_id: string;
}>;
export declare const listMcpServersSchema: z.ZodObject<{
    status: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodString>;
    search: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "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<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    auto_connect: z.ZodOptional<z.ZodBoolean>;
}, "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<z.ZodString>;
    app_id: z.ZodOptional<z.ZodString>;
    search: z.ZodOptional<z.ZodString>;
    source_workflow_id: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "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<z.ZodString>;
    app_id: z.ZodOptional<z.ZodString>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    compilation_feedback: z.ZodOptional<z.ZodString>;
}, "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<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
    sync: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    timeout: z.ZodOptional<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
    data: Record<string, any>;
    id: string;
    sync: boolean;
    timeout?: number | undefined;
}, {
    id: string;
    data?: Record<string, any> | undefined;
    timeout?: number | undefined;
    sync?: boolean | undefined;
}>;
export declare const listUsersSchema: z.ZodObject<{
    role: z.ZodOptional<z.ZodString>;
    status: z.ZodOptional<z.ZodString>;
    limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "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<z.ZodString>;
    email: z.ZodOptional<z.ZodString>;
    roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
        role: z.ZodString;
        type: z.ZodEnum<["superadmin", "admin", "member"]>;
    }, "strip", z.ZodTypeAny, {
        role: string;
        type: "superadmin" | "admin" | "member";
    }, {
        role: string;
        type: "superadmin" | "admin" | "member";
    }>, "many">>>;
}, "strip", z.ZodTypeAny, {
    roles: {
        role: string;
        type: "superadmin" | "admin" | "member";
    }[];
    external_id: string;
    email?: string | undefined;
    display_name?: string | undefined;
}, {
    external_id: string;
    roles?: {
        role: string;
        type: "superadmin" | "admin" | "member";
    }[] | 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: "superadmin" | "admin" | "member";
    user_id: string;
}, {
    role: string;
    type: "superadmin" | "admin" | "member";
    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<{
    expire: z.ZodDefault<z.ZodOptional<z.ZodString>>;
    jobs: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    streams: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    entities: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    prune_transient: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
}, "strip", z.ZodTypeAny, {
    streams: boolean;
    jobs: boolean;
    expire: string;
    prune_transient: boolean;
    entities?: string[] | undefined;
}, {
    streams?: boolean | undefined;
    jobs?: boolean | undefined;
    expire?: string | undefined;
    entities?: string[] | undefined;
    prune_transient?: boolean | undefined;
}>;
