import * as Schema from "effect/Schema";
import { BadRequest, Forbidden, NotFound } from "../../errors.ts";
export declare const ConversationsTicketsCreateInput: Schema.Struct<{
    readonly project_id: Schema.String;
    readonly id: Schema.optional<Schema.String>;
    readonly ticket_number: Schema.optional<Schema.Number>;
    readonly channel_source: Schema.optional<Schema.Literals<readonly ["widget", "email", "slack", "teams"]>>;
    readonly channel_detail: Schema.optional<Schema.Unknown>;
    readonly distinct_id: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["new", "open", "pending", "on_hold", "resolved"]>>;
    readonly priority: Schema.optional<Schema.Unknown>;
    readonly assignee: Schema.optional<Schema.Struct<{
        readonly id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly type: Schema.optional<Schema.String>;
        readonly user: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
        readonly role: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
    }>>;
    readonly anonymous_traits: Schema.optional<Schema.Unknown>;
    readonly ai_resolved: Schema.optional<Schema.Boolean>;
    readonly escalation_reason: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly updated_at: Schema.optional<Schema.String>;
    readonly message_count: Schema.optional<Schema.Number>;
    readonly last_message_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_message_text: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly unread_team_count: Schema.optional<Schema.Number>;
    readonly unread_customer_count: Schema.optional<Schema.Number>;
    readonly session_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly session_context: Schema.optional<Schema.Unknown>;
    readonly sla_due_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly snoozed_until: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly slack_channel_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly slack_thread_ts: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly slack_team_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly email_subject: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly email_from: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly email_to: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly cc_participants: Schema.optional<Schema.Unknown>;
    readonly person: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly distinct_ids: Schema.optional<Schema.$Array<Schema.String>>;
        readonly properties: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly is_identified: Schema.optional<Schema.Boolean>;
    }>>>;
    readonly tags: Schema.optional<Schema.$Array<Schema.Unknown>>;
}>;
export type ConversationsTicketsCreateInput = typeof ConversationsTicketsCreateInput.Type;
export declare const ConversationsTicketsCreateOutput: Schema.Struct<{
    readonly id: Schema.optional<Schema.String>;
    readonly ticket_number: Schema.optional<Schema.Number>;
    readonly channel_source: Schema.optional<Schema.Literals<readonly ["widget", "email", "slack", "teams"]>>;
    readonly channel_detail: Schema.optional<Schema.Unknown>;
    readonly distinct_id: Schema.optional<Schema.String>;
    readonly status: Schema.optional<Schema.Literals<readonly ["new", "open", "pending", "on_hold", "resolved"]>>;
    readonly priority: Schema.optional<Schema.Unknown>;
    readonly assignee: Schema.optional<Schema.Struct<{
        readonly id: Schema.optional<Schema.NullOr<Schema.String>>;
        readonly type: Schema.optional<Schema.String>;
        readonly user: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
        readonly role: Schema.optional<Schema.NullOr<Schema.$Record<Schema.String, Schema.String>>>;
    }>>;
    readonly anonymous_traits: Schema.optional<Schema.Unknown>;
    readonly ai_resolved: Schema.optional<Schema.Boolean>;
    readonly escalation_reason: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly created_at: Schema.optional<Schema.String>;
    readonly updated_at: Schema.optional<Schema.String>;
    readonly message_count: Schema.optional<Schema.Number>;
    readonly last_message_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly last_message_text: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly unread_team_count: Schema.optional<Schema.Number>;
    readonly unread_customer_count: Schema.optional<Schema.Number>;
    readonly session_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly session_context: Schema.optional<Schema.Unknown>;
    readonly sla_due_at: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly snoozed_until: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly slack_channel_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly slack_thread_ts: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly slack_team_id: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly email_subject: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly email_from: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly email_to: Schema.optional<Schema.NullOr<Schema.String>>;
    readonly cc_participants: Schema.optional<Schema.Unknown>;
    readonly person: Schema.optional<Schema.NullOr<Schema.Struct<{
        readonly id: Schema.optional<Schema.String>;
        readonly name: Schema.optional<Schema.String>;
        readonly distinct_ids: Schema.optional<Schema.$Array<Schema.String>>;
        readonly properties: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
        readonly created_at: Schema.optional<Schema.String>;
        readonly is_identified: Schema.optional<Schema.Boolean>;
    }>>>;
    readonly tags: Schema.optional<Schema.$Array<Schema.Unknown>>;
}>;
export type ConversationsTicketsCreateOutput = typeof ConversationsTicketsCreateOutput.Type;
/**
 *
 * @param project_id - Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
 */
export declare const conversationsTicketsCreate: import("@distilled.cloud/core/client").OperationMethod<{
    readonly ai_resolved?: boolean | undefined;
    readonly anonymous_traits?: unknown;
    readonly assignee?: {
        readonly id?: string | null | undefined;
        readonly role?: {
            readonly [x: string]: string;
        } | null | undefined;
        readonly type?: string | undefined;
        readonly user?: {
            readonly [x: string]: string;
        } | null | undefined;
    } | undefined;
    readonly cc_participants?: unknown;
    readonly channel_detail?: unknown;
    readonly channel_source?: "email" | "slack" | "teams" | "widget" | undefined;
    readonly created_at?: string | undefined;
    readonly distinct_id?: string | undefined;
    readonly email_from?: string | null | undefined;
    readonly email_subject?: string | null | undefined;
    readonly email_to?: string | null | undefined;
    readonly escalation_reason?: string | null | undefined;
    readonly id?: string | undefined;
    readonly last_message_at?: string | null | undefined;
    readonly last_message_text?: string | null | undefined;
    readonly message_count?: number | undefined;
    readonly person?: {
        readonly created_at?: string | undefined;
        readonly distinct_ids?: readonly string[] | undefined;
        readonly id?: string | undefined;
        readonly is_identified?: boolean | undefined;
        readonly name?: string | undefined;
        readonly properties?: {
            readonly [x: string]: unknown;
        } | undefined;
    } | null | undefined;
    readonly priority?: unknown;
    readonly project_id: string;
    readonly session_context?: unknown;
    readonly session_id?: string | null | undefined;
    readonly sla_due_at?: string | null | undefined;
    readonly slack_channel_id?: string | null | undefined;
    readonly slack_team_id?: string | null | undefined;
    readonly slack_thread_ts?: string | null | undefined;
    readonly snoozed_until?: string | null | undefined;
    readonly status?: "new" | "on_hold" | "open" | "pending" | "resolved" | undefined;
    readonly tags?: readonly unknown[] | undefined;
    readonly ticket_number?: number | undefined;
    readonly unread_customer_count?: number | undefined;
    readonly unread_team_count?: number | undefined;
    readonly updated_at?: string | undefined;
}, {
    readonly ai_resolved?: boolean | undefined;
    readonly anonymous_traits?: unknown;
    readonly assignee?: {
        readonly id?: string | null | undefined;
        readonly role?: {
            readonly [x: string]: string;
        } | null | undefined;
        readonly type?: string | undefined;
        readonly user?: {
            readonly [x: string]: string;
        } | null | undefined;
    } | undefined;
    readonly cc_participants?: unknown;
    readonly channel_detail?: unknown;
    readonly channel_source?: "email" | "slack" | "teams" | "widget" | undefined;
    readonly created_at?: string | undefined;
    readonly distinct_id?: string | undefined;
    readonly email_from?: string | null | undefined;
    readonly email_subject?: string | null | undefined;
    readonly email_to?: string | null | undefined;
    readonly escalation_reason?: string | null | undefined;
    readonly id?: string | undefined;
    readonly last_message_at?: string | null | undefined;
    readonly last_message_text?: string | null | undefined;
    readonly message_count?: number | undefined;
    readonly person?: {
        readonly created_at?: string | undefined;
        readonly distinct_ids?: readonly string[] | undefined;
        readonly id?: string | undefined;
        readonly is_identified?: boolean | undefined;
        readonly name?: string | undefined;
        readonly properties?: {
            readonly [x: string]: unknown;
        } | undefined;
    } | null | undefined;
    readonly priority?: unknown;
    readonly session_context?: unknown;
    readonly session_id?: string | null | undefined;
    readonly sla_due_at?: string | null | undefined;
    readonly slack_channel_id?: string | null | undefined;
    readonly slack_team_id?: string | null | undefined;
    readonly slack_thread_ts?: string | null | undefined;
    readonly snoozed_until?: string | null | undefined;
    readonly status?: "new" | "on_hold" | "open" | "pending" | "resolved" | undefined;
    readonly tags?: readonly unknown[] | undefined;
    readonly ticket_number?: number | undefined;
    readonly unread_customer_count?: number | undefined;
    readonly unread_team_count?: number | undefined;
    readonly updated_at?: string | undefined;
}, BadRequest | Forbidden | NotFound, import("~/credentials.ts").Credentials>;
//# sourceMappingURL=conversationsTicketsCreate.d.ts.map