import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { RawResponse } from "./rawresponse.js";
export declare enum MessagingConversationResult2 {
    True = "true",
    False = "false"
}
/**
 * Whether the conversation is private
 */
export type MessagingConversationResultPrivate = boolean | MessagingConversationResult2;
export type MessagingConversationResultData = {
    /**
     * 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 | MessagingConversationResult2 | null | undefined;
    /**
     * Provider's unique identifier
     */
    remoteId?: string | null | undefined;
};
export type MessagingConversationResult = {
    data?: MessagingConversationResultData | null | undefined;
    raw?: Array<RawResponse> | null | undefined;
};
/** @internal */
export declare const MessagingConversationResult2$inboundSchema: z.ZodNativeEnum<typeof MessagingConversationResult2>;
/** @internal */
export declare const MessagingConversationResultPrivate$inboundSchema: z.ZodType<MessagingConversationResultPrivate, z.ZodTypeDef, unknown>;
export declare function messagingConversationResultPrivateFromJSON(jsonString: string): SafeParseResult<MessagingConversationResultPrivate, SDKValidationError>;
/** @internal */
export declare const MessagingConversationResultData$inboundSchema: z.ZodType<MessagingConversationResultData, z.ZodTypeDef, unknown>;
export declare function messagingConversationResultDataFromJSON(jsonString: string): SafeParseResult<MessagingConversationResultData, SDKValidationError>;
/** @internal */
export declare const MessagingConversationResult$inboundSchema: z.ZodType<MessagingConversationResult, z.ZodTypeDef, unknown>;
export declare function messagingConversationResultFromJSON(jsonString: string): SafeParseResult<MessagingConversationResult, SDKValidationError>;
//# sourceMappingURL=messagingconversationresult.d.ts.map