import { ServiceBubble } from '../../../types/service-bubble-class.js';
import type { BubbleContext } from '../../../types/bubble.js';
import { CredentialType } from '@bubblelab/shared-schemas';
import { type ZendeskParamsInput, type ZendeskResult } from './zendesk.schema.js';
/**
 * Zendesk Service Bubble
 *
 * Zendesk integration for managing tickets, users, organizations, and help center articles.
 *
 * Features:
 * - Create, retrieve, update, and list tickets
 * - List and read ticket comments / replies
 * - List and retrieve users and organizations
 * - Unified search across all Zendesk resources
 * - Help Center article management
 *
 * Security Features:
 * - OAuth 2.0 authentication with Zendesk
 * - Subdomain-scoped API access
 * - Secure credential handling
 */
export declare class ZendeskBubble<T extends ZendeskParamsInput = ZendeskParamsInput> extends ServiceBubble<T, Extract<ZendeskResult, {
    operation: T['operation'];
}>> {
    static readonly type: "service";
    static readonly service = "zendesk";
    static readonly authType: "oauth";
    static readonly bubbleName = "zendesk";
    static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_tickets">;
        status: import("zod").ZodOptional<import("zod").ZodEnum<["new", "open", "pending", "hold", "solved", "closed"]>>;
        sort_by: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["created_at", "updated_at", "priority", "status"]>>>;
        sort_order: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc"]>>>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_ticket">;
        ticket_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_ticket">;
        subject: import("zod").ZodString;
        body: import("zod").ZodString;
        requester_email: import("zod").ZodOptional<import("zod").ZodString>;
        requester_name: import("zod").ZodOptional<import("zod").ZodString>;
        assignee_id: import("zod").ZodOptional<import("zod").ZodNumber>;
        priority: import("zod").ZodOptional<import("zod").ZodEnum<["urgent", "high", "normal", "low"]>>;
        type: import("zod").ZodOptional<import("zod").ZodEnum<["problem", "incident", "question", "task"]>>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
        custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodNull]>;
        }, "strip", import("zod").ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            id: number;
        }, {
            value: string | number | boolean | string[] | null;
            id: number;
        }>, "many">>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }, {
        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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_ticket">;
        ticket_id: import("zod").ZodString;
        comment: import("zod").ZodOptional<import("zod").ZodString>;
        public: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
        status: import("zod").ZodOptional<import("zod").ZodEnum<["new", "open", "pending", "hold", "solved", "closed"]>>;
        priority: import("zod").ZodOptional<import("zod").ZodEnum<["urgent", "high", "normal", "low"]>>;
        assignee_id: import("zod").ZodOptional<import("zod").ZodNumber>;
        tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
        custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodNull]>;
        }, "strip", import("zod").ZodTypeAny, {
            value: string | number | boolean | string[] | null;
            id: number;
        }, {
            value: string | number | boolean | string[] | null;
            id: number;
        }>, "many">>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }, {
        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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_ticket_comments">;
        ticket_id: import("zod").ZodString;
        sort_order: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc"]>>>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_users">;
        query: import("zod").ZodOptional<import("zod").ZodString>;
        role: import("zod").ZodOptional<import("zod").ZodEnum<["end-user", "agent", "admin"]>>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_user">;
        user_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_organizations">;
        query: import("zod").ZodOptional<import("zod").ZodString>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_organization">;
        organization_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"search">;
        query: import("zod").ZodString;
        sort_by: import("zod").ZodOptional<import("zod").ZodEnum<["updated_at", "created_at", "priority", "status", "ticket_type"]>>;
        sort_order: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc"]>>>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_articles">;
        query: import("zod").ZodOptional<import("zod").ZodString>;
        section_id: import("zod").ZodOptional<import("zod").ZodString>;
        category_id: import("zod").ZodOptional<import("zod").ZodString>;
        locale: import("zod").ZodOptional<import("zod").ZodString>;
        page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        per_page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_article">;
        article_id: import("zod").ZodString;
        locale: import("zod").ZodOptional<import("zod").ZodString>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_ticket_fields">;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").ZodTypeAny, {
        operation: "list_ticket_fields";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }, {
        operation: "list_ticket_fields";
        credentials?: Partial<Record<CredentialType, string>> | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_ticket_field">;
        type: import("zod").ZodEnum<["text", "textarea", "checkbox", "date", "integer", "decimal", "regexp", "partialcreditcard", "multiselect", "tagger", "lookup"]>;
        title: import("zod").ZodString;
        description: import("zod").ZodOptional<import("zod").ZodString>;
        required: import("zod").ZodOptional<import("zod").ZodBoolean>;
        active: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
        custom_field_options: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            name: import("zod").ZodString;
            value: import("zod").ZodString;
        }, "strip", import("zod").ZodTypeAny, {
            value: string;
            name: string;
        }, {
            value: string;
            name: string;
        }>, "many">>;
        tag: import("zod").ZodOptional<import("zod").ZodString>;
        regexp_for_validation: import("zod").ZodOptional<import("zod").ZodString>;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_ticket_field">;
        ticket_field_id: import("zod").ZodString;
        credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
    }, "strip", import("zod").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;
    }>]>;
    static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_tickets">;
        success: import("zod").ZodBoolean;
        tickets: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            subject: import("zod").ZodOptional<import("zod").ZodString>;
            description: import("zod").ZodOptional<import("zod").ZodString>;
            status: import("zod").ZodOptional<import("zod").ZodString>;
            priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
            custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                value: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodNull]>>;
            }, "strip", import("zod").ZodTypeAny, {
                value: string | number | boolean | string[] | null;
                id: number;
            }, {
                value: string | number | boolean | string[] | null;
                id: number;
            }>, "many">>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
            updated_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodNumber>;
        next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_ticket">;
        success: import("zod").ZodBoolean;
        ticket: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            subject: import("zod").ZodOptional<import("zod").ZodString>;
            description: import("zod").ZodOptional<import("zod").ZodString>;
            status: import("zod").ZodOptional<import("zod").ZodString>;
            priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
            custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                value: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodNull]>>;
            }, "strip", import("zod").ZodTypeAny, {
                value: string | number | boolean | string[] | null;
                id: number;
            }, {
                value: string | number | boolean | string[] | null;
                id: number;
            }>, "many">>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
            updated_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_ticket">;
        success: import("zod").ZodBoolean;
        ticket: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            subject: import("zod").ZodOptional<import("zod").ZodString>;
            description: import("zod").ZodOptional<import("zod").ZodString>;
            status: import("zod").ZodOptional<import("zod").ZodString>;
            priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
            custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                value: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodNull]>>;
            }, "strip", import("zod").ZodTypeAny, {
                value: string | number | boolean | string[] | null;
                id: number;
            }, {
                value: string | number | boolean | string[] | null;
                id: number;
            }>, "many">>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
            updated_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"update_ticket">;
        success: import("zod").ZodBoolean;
        ticket: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            subject: import("zod").ZodOptional<import("zod").ZodString>;
            description: import("zod").ZodOptional<import("zod").ZodString>;
            status: import("zod").ZodOptional<import("zod").ZodString>;
            priority: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            type: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            requester_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            assignee_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
            custom_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                id: import("zod").ZodNumber;
                value: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber, import("zod").ZodBoolean, import("zod").ZodArray<import("zod").ZodString, "many">, import("zod").ZodNull]>>;
            }, "strip", import("zod").ZodTypeAny, {
                value: string | number | boolean | string[] | null;
                id: number;
            }, {
                value: string | number | boolean | string[] | null;
                id: number;
            }>, "many">>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
            updated_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_ticket_comments">;
        success: import("zod").ZodBoolean;
        comments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            body: import("zod").ZodOptional<import("zod").ZodString>;
            html_body: import("zod").ZodOptional<import("zod").ZodString>;
            public: import("zod").ZodOptional<import("zod").ZodBoolean>;
            author_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").ZodTypeAny, {
            id: number;
            public?: boolean | undefined;
            body?: string | undefined;
            created_at?: string | undefined;
            html_body?: string | undefined;
            author_id?: number | undefined;
        }, {
            id: number;
            public?: boolean | undefined;
            body?: string | undefined;
            created_at?: string | undefined;
            html_body?: string | undefined;
            author_id?: number | undefined;
        }>, "many">>;
        count: import("zod").ZodOptional<import("zod").ZodNumber>;
        next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "list_ticket_comments";
        count?: number | undefined;
        comments?: {
            id: number;
            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;
            public?: boolean | undefined;
            body?: string | undefined;
            created_at?: string | undefined;
            html_body?: string | undefined;
            author_id?: number | undefined;
        }[] | undefined;
        next_page?: string | null | undefined;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_users">;
        success: import("zod").ZodBoolean;
        users: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodOptional<import("zod").ZodString>;
            email: import("zod").ZodOptional<import("zod").ZodString>;
            role: import("zod").ZodOptional<import("zod").ZodString>;
            organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            active: import("zod").ZodOptional<import("zod").ZodBoolean>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodNumber>;
        next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_user">;
        success: import("zod").ZodBoolean;
        user: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodOptional<import("zod").ZodString>;
            email: import("zod").ZodOptional<import("zod").ZodString>;
            role: import("zod").ZodOptional<import("zod").ZodString>;
            organization_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodNumber>>;
            active: import("zod").ZodOptional<import("zod").ZodBoolean>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_organizations">;
        success: import("zod").ZodBoolean;
        organizations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodOptional<import("zod").ZodString>;
            domain_names: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
            external_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodNumber>;
        next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_organization">;
        success: import("zod").ZodBoolean;
        organization: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            name: import("zod").ZodOptional<import("zod").ZodString>;
            domain_names: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
            external_id: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"search">;
        success: import("zod").ZodBoolean;
        results: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
        count: import("zod").ZodOptional<import("zod").ZodNumber>;
        next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_ticket_fields">;
        success: import("zod").ZodBoolean;
        ticket_fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            type: import("zod").ZodString;
            title: import("zod").ZodString;
            description: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
            active: import("zod").ZodOptional<import("zod").ZodBoolean>;
            required: import("zod").ZodOptional<import("zod").ZodBoolean>;
            custom_field_options: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                name: import("zod").ZodString;
                value: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                value: string;
                name: string;
            }, {
                value: string;
                name: string;
            }>, "many">>>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"create_ticket_field">;
        success: import("zod").ZodBoolean;
        ticket_field: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            type: import("zod").ZodString;
            title: import("zod").ZodString;
            active: import("zod").ZodOptional<import("zod").ZodBoolean>;
            required: import("zod").ZodOptional<import("zod").ZodBoolean>;
            custom_field_options: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
                name: import("zod").ZodString;
                value: import("zod").ZodString;
            }, "strip", import("zod").ZodTypeAny, {
                value: string;
                name: string;
            }, {
                value: string;
                name: string;
            }>, "many">>>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"delete_ticket_field">;
        success: import("zod").ZodBoolean;
        error: import("zod").ZodString;
    }, "strip", import("zod").ZodTypeAny, {
        error: string;
        success: boolean;
        operation: "delete_ticket_field";
    }, {
        error: string;
        success: boolean;
        operation: "delete_ticket_field";
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"list_articles">;
        success: import("zod").ZodBoolean;
        articles: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            title: import("zod").ZodOptional<import("zod").ZodString>;
            body: import("zod").ZodOptional<import("zod").ZodString>;
            locale: import("zod").ZodOptional<import("zod").ZodString>;
            section_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            author_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            draft: import("zod").ZodOptional<import("zod").ZodBoolean>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
            updated_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodOptional<import("zod").ZodNumber>;
        next_page: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
        error: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>, import("zod").ZodObject<{
        operation: import("zod").ZodLiteral<"get_article">;
        success: import("zod").ZodBoolean;
        article: import("zod").ZodOptional<import("zod").ZodObject<{
            id: import("zod").ZodNumber;
            title: import("zod").ZodOptional<import("zod").ZodString>;
            body: import("zod").ZodOptional<import("zod").ZodString>;
            locale: import("zod").ZodOptional<import("zod").ZodString>;
            section_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            author_id: import("zod").ZodOptional<import("zod").ZodNumber>;
            draft: import("zod").ZodOptional<import("zod").ZodBoolean>;
            created_at: import("zod").ZodOptional<import("zod").ZodString>;
            updated_at: import("zod").ZodOptional<import("zod").ZodString>;
        }, "strip", import("zod").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: import("zod").ZodString;
    }, "strip", import("zod").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;
    }>]>;
    static readonly shortDescription = "Zendesk integration for tickets, comments, users, and help center";
    static readonly longDescription = "\n    Zendesk customer support integration for ticket management and help center.\n\n    Features:\n    - Create, retrieve, update, and list support tickets\n    - List ticket comments and add replies (public or internal notes)\n    - List and retrieve users and organizations\n    - Unified search across tickets, users, and organizations\n    - Help Center article listing and retrieval\n\n    Use cases:\n    - Automated ticket triage and response\n    - Customer support workflow automation\n    - Help center content management\n    - Support analytics and reporting\n\n    Security Features:\n    - OAuth 2.0 authentication with Zendesk\n    - Subdomain-scoped API access\n    - Secure credential handling and validation\n  ";
    static readonly alias = "support";
    constructor(params?: T, context?: BubbleContext);
    testCredential(): Promise<boolean>;
    /**
     * Zendesk credential format:
     * Base64-encoded JSON: { accessToken, subdomain }
     * The subdomain identifies which Zendesk instance to access.
     */
    private parseCredentials;
    protected chooseCredential(): string | undefined;
    private makeZendeskApiRequest;
    protected performAction(context?: BubbleContext): Promise<Extract<ZendeskResult, {
        operation: T['operation'];
    }>>;
    private listTickets;
    private getTicket;
    private createTicket;
    private updateTicket;
    private listTicketFields;
    private createTicketField;
    private deleteTicketField;
    private listTicketComments;
    private listUsers;
    private getUser;
    private listOrganizations;
    private getOrganization;
    private search;
    private listArticles;
    private getArticle;
    private mapTicket;
    private mapComment;
    private mapUser;
    private mapOrganization;
    private mapArticle;
}
//# sourceMappingURL=zendesk.d.ts.map