import { z } from 'zod';
import { CredentialType } from '@bubblelab/shared-schemas';
export declare const ZendeskParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"list_tickets">;
    status: z.ZodOptional<z.ZodEnum<["new", "open", "pending", "hold", "solved", "closed"]>>;
    sort_by: z.ZodDefault<z.ZodOptional<z.ZodEnum<["created_at", "updated_at", "priority", "status"]>>>;
    sort_order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_tickets";
    page: number;
    per_page: number;
    sort_by: "status" | "priority" | "created_at" | "updated_at";
    sort_order: "asc" | "desc";
    status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_tickets";
    status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    page?: number | undefined;
    per_page?: number | undefined;
    sort_by?: "status" | "priority" | "created_at" | "updated_at" | undefined;
    sort_order?: "asc" | "desc" | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_ticket">;
    ticket_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_ticket";
    ticket_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_ticket";
    ticket_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_ticket">;
    subject: z.ZodString;
    body: z.ZodString;
    requester_email: z.ZodOptional<z.ZodString>;
    requester_name: z.ZodOptional<z.ZodString>;
    assignee_id: z.ZodOptional<z.ZodNumber>;
    priority: z.ZodOptional<z.ZodEnum<["urgent", "high", "normal", "low"]>>;
    type: z.ZodOptional<z.ZodEnum<["problem", "incident", "question", "task"]>>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
    }, "strip", z.ZodTypeAny, {
        value: string | number | boolean | string[] | null;
        id: number;
    }, {
        value: string | number | boolean | string[] | null;
        id: number;
    }>, "many">>;
    uploads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "create_ticket";
    body: string;
    subject: string;
    type?: "question" | "task" | "problem" | "incident" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    priority?: "low" | "high" | "urgent" | "normal" | undefined;
    tags?: string[] | undefined;
    custom_fields?: {
        value: string | number | boolean | string[] | null;
        id: number;
    }[] | undefined;
    requester_email?: string | undefined;
    requester_name?: string | undefined;
    assignee_id?: number | undefined;
    uploads?: string[] | undefined;
}, {
    operation: "create_ticket";
    body: string;
    subject: string;
    type?: "question" | "task" | "problem" | "incident" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    priority?: "low" | "high" | "urgent" | "normal" | undefined;
    tags?: string[] | undefined;
    custom_fields?: {
        value: string | number | boolean | string[] | null;
        id: number;
    }[] | undefined;
    requester_email?: string | undefined;
    requester_name?: string | undefined;
    assignee_id?: number | undefined;
    uploads?: string[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_ticket">;
    ticket_id: z.ZodString;
    comment: z.ZodOptional<z.ZodString>;
    public: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    status: z.ZodOptional<z.ZodEnum<["new", "open", "pending", "hold", "solved", "closed"]>>;
    priority: z.ZodOptional<z.ZodEnum<["urgent", "high", "normal", "low"]>>;
    assignee_id: z.ZodOptional<z.ZodNumber>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
    }, "strip", z.ZodTypeAny, {
        value: string | number | boolean | string[] | null;
        id: number;
    }, {
        value: string | number | boolean | string[] | null;
        id: number;
    }>, "many">>;
    uploads: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "update_ticket";
    public: boolean;
    ticket_id: string;
    status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    priority?: "low" | "high" | "urgent" | "normal" | undefined;
    tags?: string[] | undefined;
    comment?: string | undefined;
    custom_fields?: {
        value: string | number | boolean | string[] | null;
        id: number;
    }[] | undefined;
    assignee_id?: number | undefined;
    uploads?: string[] | undefined;
}, {
    operation: "update_ticket";
    ticket_id: string;
    status?: "pending" | "open" | "closed" | "new" | "hold" | "solved" | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    priority?: "low" | "high" | "urgent" | "normal" | undefined;
    tags?: string[] | undefined;
    public?: boolean | undefined;
    comment?: string | undefined;
    custom_fields?: {
        value: string | number | boolean | string[] | null;
        id: number;
    }[] | undefined;
    assignee_id?: number | undefined;
    uploads?: string[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_ticket_comments">;
    ticket_id: z.ZodString;
    sort_order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_ticket_comments";
    page: number;
    per_page: number;
    sort_order: "asc" | "desc";
    ticket_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_ticket_comments";
    ticket_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    page?: number | undefined;
    per_page?: number | undefined;
    sort_order?: "asc" | "desc" | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_users">;
    query: z.ZodOptional<z.ZodString>;
    role: z.ZodOptional<z.ZodEnum<["end-user", "agent", "admin"]>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_users";
    page: number;
    per_page: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    role?: "agent" | "end-user" | "admin" | undefined;
    query?: string | undefined;
}, {
    operation: "list_users";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    role?: "agent" | "end-user" | "admin" | undefined;
    query?: string | undefined;
    page?: number | undefined;
    per_page?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_user">;
    user_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_user";
    user_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_user";
    user_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_organizations">;
    query: z.ZodOptional<z.ZodString>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_organizations";
    page: number;
    per_page: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    query?: string | undefined;
}, {
    operation: "list_organizations";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    query?: string | undefined;
    page?: number | undefined;
    per_page?: number | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_organization">;
    organization_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_organization";
    organization_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_organization";
    organization_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search">;
    query: z.ZodString;
    sort_by: z.ZodOptional<z.ZodEnum<["updated_at", "created_at", "priority", "status", "ticket_type"]>>;
    sort_order: z.ZodDefault<z.ZodOptional<z.ZodEnum<["asc", "desc"]>>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    query: string;
    operation: "search";
    page: number;
    per_page: number;
    sort_order: "asc" | "desc";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    sort_by?: "status" | "priority" | "created_at" | "updated_at" | "ticket_type" | undefined;
}, {
    query: string;
    operation: "search";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    page?: number | undefined;
    per_page?: number | undefined;
    sort_by?: "status" | "priority" | "created_at" | "updated_at" | "ticket_type" | undefined;
    sort_order?: "asc" | "desc" | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_articles">;
    query: z.ZodOptional<z.ZodString>;
    section_id: z.ZodOptional<z.ZodString>;
    category_id: z.ZodOptional<z.ZodString>;
    locale: z.ZodOptional<z.ZodString>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_articles";
    page: number;
    per_page: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    query?: string | undefined;
    locale?: string | undefined;
    section_id?: string | undefined;
    category_id?: string | undefined;
}, {
    operation: "list_articles";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    query?: string | undefined;
    locale?: string | undefined;
    page?: number | undefined;
    per_page?: number | undefined;
    section_id?: string | undefined;
    category_id?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_article">;
    article_id: z.ZodString;
    locale: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_article";
    article_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    locale?: string | undefined;
}, {
    operation: "get_article";
    article_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    locale?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_ticket_fields">;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_ticket_fields";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "list_ticket_fields";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_ticket_field">;
    type: z.ZodEnum<["text", "textarea", "checkbox", "date", "integer", "decimal", "regexp", "partialcreditcard", "multiselect", "tagger", "lookup"]>;
    title: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    required: z.ZodOptional<z.ZodBoolean>;
    active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    custom_field_options: z.ZodOptional<z.ZodArray<z.ZodObject<{
        name: z.ZodString;
        value: z.ZodString;
    }, "strip", z.ZodTypeAny, {
        value: string;
        name: string;
    }, {
        value: string;
        name: string;
    }>, "many">>;
    tag: z.ZodOptional<z.ZodString>;
    regexp_for_validation: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    type: "integer" | "date" | "text" | "checkbox" | "lookup" | "textarea" | "decimal" | "regexp" | "partialcreditcard" | "multiselect" | "tagger";
    title: string;
    operation: "create_ticket_field";
    active: boolean;
    description?: string | undefined;
    required?: boolean | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    custom_field_options?: {
        value: string;
        name: string;
    }[] | undefined;
    tag?: string | undefined;
    regexp_for_validation?: string | undefined;
}, {
    type: "integer" | "date" | "text" | "checkbox" | "lookup" | "textarea" | "decimal" | "regexp" | "partialcreditcard" | "multiselect" | "tagger";
    title: string;
    operation: "create_ticket_field";
    description?: string | undefined;
    required?: boolean | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    active?: boolean | undefined;
    custom_field_options?: {
        value: string;
        name: string;
    }[] | undefined;
    tag?: string | undefined;
    regexp_for_validation?: string | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_ticket_field">;
    ticket_field_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "delete_ticket_field";
    ticket_field_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "delete_ticket_field";
    ticket_field_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_macros">;
    active: z.ZodOptional<z.ZodBoolean>;
    category: z.ZodOptional<z.ZodString>;
    include: z.ZodOptional<z.ZodEnum<["usage_7d", "usage_24h", "usage_30d"]>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "list_macros";
    page: number;
    per_page: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
    category?: string | undefined;
    active?: boolean | undefined;
}, {
    operation: "list_macros";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
    page?: number | undefined;
    category?: string | undefined;
    per_page?: number | undefined;
    active?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_macro">;
    macro_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "get_macro";
    macro_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "get_macro";
    macro_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"apply_macro">;
    ticket_id: z.ZodString;
    macro_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "apply_macro";
    ticket_id: string;
    macro_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "apply_macro";
    ticket_id: string;
    macro_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_macro">;
    title: z.ZodString;
    actions: z.ZodArray<z.ZodObject<{
        field: z.ZodString;
        value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
    }, "strip", z.ZodTypeAny, {
        value: string | number | boolean | string[] | null;
        field: string;
    }, {
        value: string | number | boolean | string[] | null;
        field: string;
    }>, "many">;
    active: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
    description: z.ZodOptional<z.ZodString>;
    restriction: z.ZodOptional<z.ZodObject<{
        type: z.ZodString;
        id: z.ZodOptional<z.ZodNumber>;
        ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
    }, "strip", z.ZodTypeAny, {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    }, {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    }>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    title: string;
    operation: "create_macro";
    actions: {
        value: string | number | boolean | string[] | null;
        field: string;
    }[];
    active: boolean;
    description?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    restriction?: {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    } | undefined;
}, {
    title: string;
    operation: "create_macro";
    actions: {
        value: string | number | boolean | string[] | null;
        field: string;
    }[];
    description?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    active?: boolean | undefined;
    restriction?: {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_macro">;
    macro_id: z.ZodString;
    title: z.ZodOptional<z.ZodString>;
    actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
        field: z.ZodString;
        value: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>;
    }, "strip", z.ZodTypeAny, {
        value: string | number | boolean | string[] | null;
        field: string;
    }, {
        value: string | number | boolean | string[] | null;
        field: string;
    }>, "many">>;
    active: z.ZodOptional<z.ZodBoolean>;
    description: z.ZodOptional<z.ZodString>;
    restriction: z.ZodOptional<z.ZodObject<{
        type: z.ZodString;
        id: z.ZodOptional<z.ZodNumber>;
        ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
    }, "strip", z.ZodTypeAny, {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    }, {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    }>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "update_macro";
    macro_id: string;
    description?: string | undefined;
    title?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    actions?: {
        value: string | number | boolean | string[] | null;
        field: string;
    }[] | undefined;
    active?: boolean | undefined;
    restriction?: {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    } | undefined;
}, {
    operation: "update_macro";
    macro_id: string;
    description?: string | undefined;
    title?: string | undefined;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    actions?: {
        value: string | number | boolean | string[] | null;
        field: string;
    }[] | undefined;
    active?: boolean | undefined;
    restriction?: {
        type: string;
        id?: number | undefined;
        ids?: number[] | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_macro">;
    macro_id: z.ZodString;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    operation: "delete_macro";
    macro_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}, {
    operation: "delete_macro";
    macro_id: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search_macros">;
    query: z.ZodString;
    active: z.ZodOptional<z.ZodBoolean>;
    include: z.ZodOptional<z.ZodEnum<["usage_7d", "usage_24h", "usage_30d"]>>;
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    per_page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    query: string;
    operation: "search_macros";
    page: number;
    per_page: number;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
    active?: boolean | undefined;
}, {
    query: string;
    operation: "search_macros";
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    include?: "usage_7d" | "usage_24h" | "usage_30d" | undefined;
    page?: number | undefined;
    per_page?: number | undefined;
    active?: boolean | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"upload_attachment">;
    filename: z.ZodString;
    content: z.ZodString;
    content_type: z.ZodOptional<z.ZodString>;
    credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
}, "strip", z.ZodTypeAny, {
    content: string;
    operation: "upload_attachment";
    filename: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    content_type?: string | undefined;
}, {
    content: string;
    operation: "upload_attachment";
    filename: string;
    credentials?: Partial<Record<CredentialType, string>> | undefined;
    content_type?: string | undefined;
}>]>;
export declare const ZendeskResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
    operation: z.ZodLiteral<"list_tickets">;
    success: z.ZodBoolean;
    tickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        subject: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        status: z.ZodOptional<z.ZodString>;
        priority: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        requester_id: z.ZodOptional<z.ZodNumber>;
        assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodNumber;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            id: number;
        }, {
            value: string | number | boolean | string[] | null;
            id: number;
        }>, "many">>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_tickets";
    count?: number | undefined;
    tickets?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }[] | undefined;
    next_page?: string | null | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_tickets";
    count?: number | undefined;
    tickets?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }[] | undefined;
    next_page?: string | null | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_ticket">;
    success: z.ZodBoolean;
    ticket: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        subject: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        status: z.ZodOptional<z.ZodString>;
        priority: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        requester_id: z.ZodOptional<z.ZodNumber>;
        assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodNumber;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            id: number;
        }, {
            value: string | number | boolean | string[] | null;
            id: number;
        }>, "many">>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_ticket";
    ticket?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_ticket";
    ticket?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_ticket">;
    success: z.ZodBoolean;
    ticket: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        subject: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        status: z.ZodOptional<z.ZodString>;
        priority: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        requester_id: z.ZodOptional<z.ZodNumber>;
        assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodNumber;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            id: number;
        }, {
            value: string | number | boolean | string[] | null;
            id: number;
        }>, "many">>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_ticket";
    ticket?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_ticket";
    ticket?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_ticket">;
    success: z.ZodBoolean;
    ticket: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        subject: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        status: z.ZodOptional<z.ZodString>;
        priority: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        type: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        requester_id: z.ZodOptional<z.ZodNumber>;
        assignee_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodNumber;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            id: number;
        }, {
            value: string | number | boolean | string[] | null;
            id: number;
        }>, "many">>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }, {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "update_ticket";
    ticket?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "update_ticket";
    ticket?: {
        id: number;
        type?: string | null | undefined;
        description?: string | undefined;
        status?: string | undefined;
        priority?: string | null | undefined;
        tags?: string[] | undefined;
        subject?: string | undefined;
        created_at?: string | undefined;
        updated_at?: string | undefined;
        custom_fields?: {
            value: string | number | boolean | string[] | null;
            id: number;
        }[] | undefined;
        assignee_id?: number | null | undefined;
        organization_id?: number | null | undefined;
        requester_id?: number | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_ticket_comments">;
    success: z.ZodBoolean;
    comments: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        body: z.ZodOptional<z.ZodString>;
        html_body: z.ZodOptional<z.ZodString>;
        public: z.ZodOptional<z.ZodBoolean>;
        author_id: z.ZodOptional<z.ZodNumber>;
        attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
            id: z.ZodNumber;
            file_name: z.ZodString;
            content_url: z.ZodString;
            content_type: z.ZodString;
            size: z.ZodNumber;
        }, "strip", z.ZodTypeAny, {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }, {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }>, "many">>;
        created_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        attachments?: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }[] | undefined;
        public?: boolean | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        html_body?: string | undefined;
        author_id?: number | undefined;
    }, {
        id: number;
        attachments?: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }[] | undefined;
        public?: boolean | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        html_body?: string | undefined;
        author_id?: number | undefined;
    }>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_ticket_comments";
    count?: number | undefined;
    comments?: {
        id: number;
        attachments?: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }[] | undefined;
        public?: boolean | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        html_body?: string | undefined;
        author_id?: number | undefined;
    }[] | undefined;
    next_page?: string | null | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_ticket_comments";
    count?: number | undefined;
    comments?: {
        id: number;
        attachments?: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }[] | undefined;
        public?: boolean | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        html_body?: string | undefined;
        author_id?: number | undefined;
    }[] | undefined;
    next_page?: string | null | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_users">;
    success: z.ZodBoolean;
    users: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        name: z.ZodOptional<z.ZodString>;
        email: z.ZodOptional<z.ZodString>;
        role: z.ZodOptional<z.ZodString>;
        organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        active: z.ZodOptional<z.ZodBoolean>;
        created_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    }, {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    }>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_users";
    users?: {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    }[] | undefined;
    count?: number | undefined;
    next_page?: string | null | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_users";
    users?: {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    }[] | undefined;
    count?: number | undefined;
    next_page?: string | null | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_user">;
    success: z.ZodBoolean;
    user: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        name: z.ZodOptional<z.ZodString>;
        email: z.ZodOptional<z.ZodString>;
        role: z.ZodOptional<z.ZodString>;
        organization_id: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
        active: z.ZodOptional<z.ZodBoolean>;
        created_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    }, {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_user";
    user?: {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_user";
    user?: {
        id: number;
        name?: string | undefined;
        email?: string | undefined;
        role?: string | undefined;
        created_at?: string | undefined;
        active?: boolean | undefined;
        organization_id?: number | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_organizations">;
    success: z.ZodBoolean;
    organizations: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        name: z.ZodOptional<z.ZodString>;
        domain_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        created_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    }, {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    }>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_organizations";
    count?: number | undefined;
    next_page?: string | null | undefined;
    organizations?: {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_organizations";
    count?: number | undefined;
    next_page?: string | null | undefined;
    organizations?: {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_organization">;
    success: z.ZodBoolean;
    organization: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        name: z.ZodOptional<z.ZodString>;
        domain_names: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
        external_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        created_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    }, {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_organization";
    organization?: {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_organization";
    organization?: {
        id: number;
        name?: string | undefined;
        created_at?: string | undefined;
        domain_names?: string[] | undefined;
        external_id?: string | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search">;
    success: z.ZodBoolean;
    results: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "search";
    count?: number | undefined;
    results?: Record<string, unknown>[] | undefined;
    next_page?: string | null | undefined;
}, {
    error: string;
    success: boolean;
    operation: "search";
    count?: number | undefined;
    results?: Record<string, unknown>[] | undefined;
    next_page?: string | null | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_ticket_fields">;
    success: z.ZodBoolean;
    ticket_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        type: z.ZodString;
        title: z.ZodString;
        description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        active: z.ZodOptional<z.ZodBoolean>;
        required: z.ZodOptional<z.ZodBoolean>;
        custom_field_options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            value: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            value: string;
            name: string;
        }, {
            value: string;
            name: string;
        }>, "many">>>;
    }, "strip", z.ZodTypeAny, {
        type: string;
        title: string;
        id: number;
        description?: string | null | undefined;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    }, {
        type: string;
        title: string;
        id: number;
        description?: string | null | undefined;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    }>, "many">>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_ticket_fields";
    ticket_fields?: {
        type: string;
        title: string;
        id: number;
        description?: string | null | undefined;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_ticket_fields";
    ticket_fields?: {
        type: string;
        title: string;
        id: number;
        description?: string | null | undefined;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_ticket_field">;
    success: z.ZodBoolean;
    ticket_field: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        type: z.ZodString;
        title: z.ZodString;
        active: z.ZodOptional<z.ZodBoolean>;
        required: z.ZodOptional<z.ZodBoolean>;
        custom_field_options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
            name: z.ZodString;
            value: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            value: string;
            name: string;
        }, {
            value: string;
            name: string;
        }>, "many">>>;
    }, "strip", z.ZodTypeAny, {
        type: string;
        title: string;
        id: number;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    }, {
        type: string;
        title: string;
        id: number;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_ticket_field";
    ticket_field?: {
        type: string;
        title: string;
        id: number;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_ticket_field";
    ticket_field?: {
        type: string;
        title: string;
        id: number;
        required?: boolean | undefined;
        active?: boolean | undefined;
        custom_field_options?: {
            value: string;
            name: string;
        }[] | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_ticket_field">;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "delete_ticket_field";
}, {
    error: string;
    success: boolean;
    operation: "delete_ticket_field";
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_articles">;
    success: z.ZodBoolean;
    articles: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        body: z.ZodOptional<z.ZodString>;
        locale: z.ZodOptional<z.ZodString>;
        section_id: z.ZodOptional<z.ZodNumber>;
        author_id: z.ZodOptional<z.ZodNumber>;
        draft: z.ZodOptional<z.ZodBoolean>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    }, {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    }>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_articles";
    count?: number | undefined;
    next_page?: string | null | undefined;
    articles?: {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_articles";
    count?: number | undefined;
    next_page?: string | null | undefined;
    articles?: {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_article">;
    success: z.ZodBoolean;
    article: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        body: z.ZodOptional<z.ZodString>;
        locale: z.ZodOptional<z.ZodString>;
        section_id: z.ZodOptional<z.ZodNumber>;
        author_id: z.ZodOptional<z.ZodNumber>;
        draft: z.ZodOptional<z.ZodBoolean>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    }, {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_article";
    article?: {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_article";
    article?: {
        id: number;
        title?: string | undefined;
        body?: string | undefined;
        created_at?: string | undefined;
        draft?: boolean | undefined;
        locale?: string | undefined;
        updated_at?: string | undefined;
        section_id?: number | undefined;
        author_id?: number | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"list_macros">;
    success: z.ZodBoolean;
    macros: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        active: z.ZodOptional<z.ZodBoolean>;
        actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
            field: z.ZodString;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            field: string;
        }, {
            value: string | number | boolean | string[] | null;
            field: string;
        }>, "many">>;
        restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            type: z.ZodOptional<z.ZodString>;
            id: z.ZodOptional<z.ZodNumber>;
            ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
        }, "strip", z.ZodTypeAny, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }>>>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "list_macros";
    count?: number | undefined;
    next_page?: string | null | undefined;
    macros?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "list_macros";
    count?: number | undefined;
    next_page?: string | null | undefined;
    macros?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"get_macro">;
    success: z.ZodBoolean;
    macro: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        active: z.ZodOptional<z.ZodBoolean>;
        actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
            field: z.ZodString;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            field: string;
        }, {
            value: string | number | boolean | string[] | null;
            field: string;
        }>, "many">>;
        restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            type: z.ZodOptional<z.ZodString>;
            id: z.ZodOptional<z.ZodNumber>;
            ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
        }, "strip", z.ZodTypeAny, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }>>>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "get_macro";
    macro?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "get_macro";
    macro?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"apply_macro">;
    success: z.ZodBoolean;
    result: z.ZodOptional<z.ZodObject<{
        ticket: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        comment: z.ZodOptional<z.ZodObject<{
            body: z.ZodOptional<z.ZodString>;
            html_body: z.ZodOptional<z.ZodString>;
            public: z.ZodOptional<z.ZodBoolean>;
            scoped_body: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
        }, "strip", z.ZodTypeAny, {
            public?: boolean | undefined;
            body?: string | undefined;
            html_body?: string | undefined;
            scoped_body?: string[][] | undefined;
        }, {
            public?: boolean | undefined;
            body?: string | undefined;
            html_body?: string | undefined;
            scoped_body?: string[][] | undefined;
        }>>;
    }, "strip", z.ZodTypeAny, {
        comment?: {
            public?: boolean | undefined;
            body?: string | undefined;
            html_body?: string | undefined;
            scoped_body?: string[][] | undefined;
        } | undefined;
        ticket?: Record<string, unknown> | undefined;
    }, {
        comment?: {
            public?: boolean | undefined;
            body?: string | undefined;
            html_body?: string | undefined;
            scoped_body?: string[][] | undefined;
        } | undefined;
        ticket?: Record<string, unknown> | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "apply_macro";
    result?: {
        comment?: {
            public?: boolean | undefined;
            body?: string | undefined;
            html_body?: string | undefined;
            scoped_body?: string[][] | undefined;
        } | undefined;
        ticket?: Record<string, unknown> | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "apply_macro";
    result?: {
        comment?: {
            public?: boolean | undefined;
            body?: string | undefined;
            html_body?: string | undefined;
            scoped_body?: string[][] | undefined;
        } | undefined;
        ticket?: Record<string, unknown> | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"create_macro">;
    success: z.ZodBoolean;
    macro: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        active: z.ZodOptional<z.ZodBoolean>;
        actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
            field: z.ZodString;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            field: string;
        }, {
            value: string | number | boolean | string[] | null;
            field: string;
        }>, "many">>;
        restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            type: z.ZodOptional<z.ZodString>;
            id: z.ZodOptional<z.ZodNumber>;
            ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
        }, "strip", z.ZodTypeAny, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }>>>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "create_macro";
    macro?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "create_macro";
    macro?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"update_macro">;
    success: z.ZodBoolean;
    macro: z.ZodOptional<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        active: z.ZodOptional<z.ZodBoolean>;
        actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
            field: z.ZodString;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            field: string;
        }, {
            value: string | number | boolean | string[] | null;
            field: string;
        }>, "many">>;
        restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            type: z.ZodOptional<z.ZodString>;
            id: z.ZodOptional<z.ZodNumber>;
            ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
        }, "strip", z.ZodTypeAny, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }>>>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "update_macro";
    macro?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "update_macro";
    macro?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    } | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"delete_macro">;
    success: z.ZodBoolean;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "delete_macro";
}, {
    error: string;
    success: boolean;
    operation: "delete_macro";
}>, z.ZodObject<{
    operation: z.ZodLiteral<"search_macros">;
    success: z.ZodBoolean;
    macros: z.ZodOptional<z.ZodArray<z.ZodObject<{
        id: z.ZodNumber;
        title: z.ZodOptional<z.ZodString>;
        description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        active: z.ZodOptional<z.ZodBoolean>;
        actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
            field: z.ZodString;
            value: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodString, "many">, z.ZodNull]>>;
        }, "strip", z.ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            field: string;
        }, {
            value: string | number | boolean | string[] | null;
            field: string;
        }>, "many">>;
        restriction: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            type: z.ZodOptional<z.ZodString>;
            id: z.ZodOptional<z.ZodNumber>;
            ids: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
        }, "strip", z.ZodTypeAny, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }, {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        }>>>;
        created_at: z.ZodOptional<z.ZodString>;
        updated_at: z.ZodOptional<z.ZodString>;
    }, "strip", z.ZodTypeAny, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }, {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }>, "many">>;
    count: z.ZodOptional<z.ZodNumber>;
    next_page: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "search_macros";
    count?: number | undefined;
    next_page?: string | null | undefined;
    macros?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }[] | undefined;
}, {
    error: string;
    success: boolean;
    operation: "search_macros";
    count?: number | undefined;
    next_page?: string | null | undefined;
    macros?: {
        id: number;
        description?: string | null | undefined;
        title?: string | undefined;
        created_at?: string | undefined;
        actions?: {
            value: string | number | boolean | string[] | null;
            field: string;
        }[] | undefined;
        updated_at?: string | undefined;
        active?: boolean | undefined;
        restriction?: {
            type?: string | undefined;
            id?: number | undefined;
            ids?: number[] | undefined;
        } | null | undefined;
    }[] | undefined;
}>, z.ZodObject<{
    operation: z.ZodLiteral<"upload_attachment">;
    success: z.ZodBoolean;
    upload: z.ZodOptional<z.ZodObject<{
        token: z.ZodString;
        attachment: z.ZodObject<{
            id: z.ZodNumber;
            file_name: z.ZodString;
            content_url: z.ZodString;
            size: z.ZodNumber;
            content_type: z.ZodString;
        }, "strip", z.ZodTypeAny, {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }, {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        }>;
    }, "strip", z.ZodTypeAny, {
        token: string;
        attachment: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        };
    }, {
        token: string;
        attachment: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        };
    }>>;
    error: z.ZodString;
}, "strip", z.ZodTypeAny, {
    error: string;
    success: boolean;
    operation: "upload_attachment";
    upload?: {
        token: string;
        attachment: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        };
    } | undefined;
}, {
    error: string;
    success: boolean;
    operation: "upload_attachment";
    upload?: {
        token: string;
        attachment: {
            id: number;
            size: number;
            file_name: string;
            content_type: string;
            content_url: string;
        };
    } | undefined;
}>]>;
export type ZendeskParams = z.output<typeof ZendeskParamsSchema>;
export type ZendeskParamsInput = z.input<typeof ZendeskParamsSchema>;
export type ZendeskResult = z.output<typeof ZendeskResultSchema>;
//# sourceMappingURL=zendesk.schema.d.ts.map