import * as z from "zod";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { SupportTicketMessage, SupportTicketMessage$Outbound } from "./supportticketmessage.js";
export declare const SupportTicketConversationType: {
    readonly SupportTicket: "support_ticket";
};
export type SupportTicketConversationType = ClosedEnum<typeof SupportTicketConversationType>;
export declare const SupportTicketConversationVisibility: {
    readonly Private: "private";
    readonly Public: "public";
};
export type SupportTicketConversationVisibility = ClosedEnum<typeof SupportTicketConversationVisibility>;
export type SupportTicketConversation = {
    id: string;
    externalId: string | null;
    externalUrl: string | null;
    type: SupportTicketConversationType;
    supportTicketConversationId: string | null;
    createdAt: string;
    updatedAt: string;
    projectId: string | null;
    integrationId: string | null;
    /**
     * A customizable collection of custom properties or attributes.
     */
    properties?: {
        [k: string]: any;
    } | null | undefined;
    /**
     * A customizable collection of custom properties or attributes.
     */
    userProperties?: {
        [k: string]: any;
    } | null | undefined;
    tags?: Array<string> | null | undefined;
    visibility: SupportTicketConversationVisibility | null;
    /**
     * The messages in the conversation. Must be at least one message.
     */
    messages: Array<SupportTicketMessage>;
};
/** @internal */
export declare const SupportTicketConversationType$inboundSchema: z.ZodNativeEnum<typeof SupportTicketConversationType>;
/** @internal */
export declare const SupportTicketConversationType$outboundSchema: z.ZodNativeEnum<typeof SupportTicketConversationType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SupportTicketConversationType$ {
    /** @deprecated use `SupportTicketConversationType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly SupportTicket: "support_ticket";
    }>;
    /** @deprecated use `SupportTicketConversationType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly SupportTicket: "support_ticket";
    }>;
}
/** @internal */
export declare const SupportTicketConversationVisibility$inboundSchema: z.ZodNativeEnum<typeof SupportTicketConversationVisibility>;
/** @internal */
export declare const SupportTicketConversationVisibility$outboundSchema: z.ZodNativeEnum<typeof SupportTicketConversationVisibility>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SupportTicketConversationVisibility$ {
    /** @deprecated use `SupportTicketConversationVisibility$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Private: "private";
        readonly Public: "public";
    }>;
    /** @deprecated use `SupportTicketConversationVisibility$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Private: "private";
        readonly Public: "public";
    }>;
}
/** @internal */
export declare const SupportTicketConversation$inboundSchema: z.ZodType<SupportTicketConversation, z.ZodTypeDef, unknown>;
/** @internal */
export type SupportTicketConversation$Outbound = {
    id: string;
    externalId: string | null;
    externalUrl: string | null;
    type: string;
    supportTicketConversationId: string | null;
    createdAt: string;
    updatedAt: string;
    projectId: string | null;
    integrationId: string | null;
    properties?: {
        [k: string]: any;
    } | null | undefined;
    userProperties?: {
        [k: string]: any;
    } | null | undefined;
    tags?: Array<string> | null | undefined;
    visibility: string | null;
    messages: Array<SupportTicketMessage$Outbound>;
};
/** @internal */
export declare const SupportTicketConversation$outboundSchema: z.ZodType<SupportTicketConversation$Outbound, z.ZodTypeDef, SupportTicketConversation>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace SupportTicketConversation$ {
    /** @deprecated use `SupportTicketConversation$inboundSchema` instead. */
    const inboundSchema: z.ZodType<SupportTicketConversation, z.ZodTypeDef, unknown>;
    /** @deprecated use `SupportTicketConversation$outboundSchema` instead. */
    const outboundSchema: z.ZodType<SupportTicketConversation$Outbound, z.ZodTypeDef, SupportTicketConversation>;
    /** @deprecated use `SupportTicketConversation$Outbound` instead. */
    type Outbound = SupportTicketConversation$Outbound;
}
export declare function supportTicketConversationToJSON(supportTicketConversation: SupportTicketConversation): string;
export declare function supportTicketConversationFromJSON(jsonString: string): SafeParseResult<SupportTicketConversation, SDKValidationError>;
//# sourceMappingURL=supportticketconversation.d.ts.map