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";
export declare const InsertConversationEventEntityType: {
    readonly Conversation: "conversation";
};
export type InsertConversationEventEntityType = ClosedEnum<typeof InsertConversationEventEntityType>;
export type InsertConversationEvent = {
    id?: string | undefined;
    type: string;
    conversationId: string;
    /**
     * A timestamp in ISO 8601 format with timezone information. If not provided, the current time will be used.
     */
    createdAt?: Date | null | undefined;
    projectId?: string | null | undefined;
    integrationId?: string | null | undefined;
    /**
     * 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;
    entityType: InsertConversationEventEntityType;
};
/** @internal */
export declare const InsertConversationEventEntityType$inboundSchema: z.ZodNativeEnum<typeof InsertConversationEventEntityType>;
/** @internal */
export declare const InsertConversationEventEntityType$outboundSchema: z.ZodNativeEnum<typeof InsertConversationEventEntityType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace InsertConversationEventEntityType$ {
    /** @deprecated use `InsertConversationEventEntityType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Conversation: "conversation";
    }>;
    /** @deprecated use `InsertConversationEventEntityType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Conversation: "conversation";
    }>;
}
/** @internal */
export declare const InsertConversationEvent$inboundSchema: z.ZodType<InsertConversationEvent, z.ZodTypeDef, unknown>;
/** @internal */
export type InsertConversationEvent$Outbound = {
    id?: string | undefined;
    type: string;
    conversationId: string;
    createdAt?: string | null | undefined;
    projectId?: string | null | undefined;
    integrationId?: string | null | undefined;
    properties?: {
        [k: string]: any;
    } | null | undefined;
    userProperties?: {
        [k: string]: any;
    } | null | undefined;
    entityType: string;
};
/** @internal */
export declare const InsertConversationEvent$outboundSchema: z.ZodType<InsertConversationEvent$Outbound, z.ZodTypeDef, InsertConversationEvent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace InsertConversationEvent$ {
    /** @deprecated use `InsertConversationEvent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<InsertConversationEvent, z.ZodTypeDef, unknown>;
    /** @deprecated use `InsertConversationEvent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<InsertConversationEvent$Outbound, z.ZodTypeDef, InsertConversationEvent>;
    /** @deprecated use `InsertConversationEvent$Outbound` instead. */
    type Outbound = InsertConversationEvent$Outbound;
}
export declare function insertConversationEventToJSON(insertConversationEvent: InsertConversationEvent): string;
export declare function insertConversationEventFromJSON(jsonString: string): SafeParseResult<InsertConversationEvent, SDKValidationError>;
//# sourceMappingURL=insertconversationevent.d.ts.map