import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export declare enum MessagingConversation2 {
    True = "true",
    False = "false"
}
/**
 * Whether the conversation is private
 */
export type Private = boolean | MessagingConversation2;
export type MessagingConversation = {
    /**
     * Timestamp when the conversation was created
     */
    createdAt?: Date | null | undefined;
    /**
     * Unique identifier
     */
    id?: string | null | undefined;
    /**
     * Timestamp of the last message in the conversation
     */
    lastMessageAt?: Date | null | undefined;
    /**
     * Name or title of the conversation
     */
    name?: string | null | undefined;
    /**
     * List of participant user IDs in the conversation
     */
    participants?: Array<string> | null | undefined;
    /**
     * Whether the conversation is private
     */
    private?: boolean | MessagingConversation2 | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
};
/** @internal */
export declare const MessagingConversation2$inboundSchema: z.ZodNativeEnum<typeof MessagingConversation2>;
/** @internal */
export declare const Private$inboundSchema: z.ZodType<Private, z.ZodTypeDef, unknown>;
export declare function privateFromJSON(jsonString: string): SafeParseResult<Private, SDKValidationError>;
/** @internal */
export declare const MessagingConversation$inboundSchema: z.ZodType<MessagingConversation, z.ZodTypeDef, unknown>;
export declare function messagingConversationFromJSON(jsonString: string): SafeParseResult<MessagingConversation, SDKValidationError>;
//# sourceMappingURL=messagingconversation.d.ts.map