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 EntityType: {
    readonly Message: "message";
};
export type EntityType = ClosedEnum<typeof EntityType>;
export type InsertMessageEvent = {
    id?: string | undefined;
    type: string;
    messageId: 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: EntityType;
};
/** @internal */
export declare const EntityType$inboundSchema: z.ZodNativeEnum<typeof EntityType>;
/** @internal */
export declare const EntityType$outboundSchema: z.ZodNativeEnum<typeof EntityType>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace EntityType$ {
    /** @deprecated use `EntityType$inboundSchema` instead. */
    const inboundSchema: z.ZodNativeEnum<{
        readonly Message: "message";
    }>;
    /** @deprecated use `EntityType$outboundSchema` instead. */
    const outboundSchema: z.ZodNativeEnum<{
        readonly Message: "message";
    }>;
}
/** @internal */
export declare const InsertMessageEvent$inboundSchema: z.ZodType<InsertMessageEvent, z.ZodTypeDef, unknown>;
/** @internal */
export type InsertMessageEvent$Outbound = {
    id?: string | undefined;
    type: string;
    messageId: 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 InsertMessageEvent$outboundSchema: z.ZodType<InsertMessageEvent$Outbound, z.ZodTypeDef, InsertMessageEvent>;
/**
 * @internal
 * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
 */
export declare namespace InsertMessageEvent$ {
    /** @deprecated use `InsertMessageEvent$inboundSchema` instead. */
    const inboundSchema: z.ZodType<InsertMessageEvent, z.ZodTypeDef, unknown>;
    /** @deprecated use `InsertMessageEvent$outboundSchema` instead. */
    const outboundSchema: z.ZodType<InsertMessageEvent$Outbound, z.ZodTypeDef, InsertMessageEvent>;
    /** @deprecated use `InsertMessageEvent$Outbound` instead. */
    type Outbound = InsertMessageEvent$Outbound;
}
export declare function insertMessageEventToJSON(insertMessageEvent: InsertMessageEvent): string;
export declare function insertMessageEventFromJSON(jsonString: string): SafeParseResult<InsertMessageEvent, SDKValidationError>;
//# sourceMappingURL=insertmessageevent.d.ts.map