import * as z from "zod/v3";
import { ClosedEnum } from "../../types/enums.js";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { MessageResponse } from "./messageresponse.js";
/**
 * Resource type discriminator.
 */
export declare const ConversationWithMessagesResponseKind: {
    readonly Conversation: "conversation";
};
/**
 * Resource type discriminator.
 */
export type ConversationWithMessagesResponseKind = ClosedEnum<typeof ConversationWithMessagesResponseKind>;
/**
 * Additional conversation metadata.
 */
export type ConversationWithMessagesResponseMetadata = {
    /**
     * When `true`, indicates the conversation title is being auto-generated.
     */
    generatingTitle?: boolean | undefined;
    /**
     * Parent entity identifier (e.g., agent or deployment). Set to `null` for standalone conversations.
     */
    entityId?: string | null | undefined;
    /**
     * Model identifier for standalone conversations in `provider/model_id` format. Set to `null` for entity-bound conversations.
     */
    model?: string | null | undefined;
};
export type ConversationWithMessagesResponse = {
    /**
     * Unique conversation identifier with `conv_` prefix.
     */
    id: string;
    /**
     * Resource type discriminator.
     */
    kind: ConversationWithMessagesResponseKind;
    /**
     * Human-readable name for the conversation. Maximum 100 characters.
     */
    displayName: string;
    /**
     * Unix timestamp in milliseconds when the conversation was created.
     */
    createdAt: number;
    /**
     * Unix timestamp in milliseconds when the conversation was last modified.
     */
    updatedAt: number;
    /**
     * Identifier of the user or system that created the conversation.
     */
    createdById?: string | undefined;
    /**
     * Identifier of the user or system that last modified the conversation.
     */
    updatedById?: string | undefined;
    /**
     * Additional conversation metadata.
     */
    metadata?: ConversationWithMessagesResponseMetadata | undefined;
    /**
     * Conversation messages ordered chronologically (oldest first).
     */
    messages: Array<MessageResponse>;
};
/** @internal */
export declare const ConversationWithMessagesResponseKind$inboundSchema: z.ZodNativeEnum<typeof ConversationWithMessagesResponseKind>;
/** @internal */
export declare const ConversationWithMessagesResponseMetadata$inboundSchema: z.ZodType<ConversationWithMessagesResponseMetadata, z.ZodTypeDef, unknown>;
export declare function conversationWithMessagesResponseMetadataFromJSON(jsonString: string): SafeParseResult<ConversationWithMessagesResponseMetadata, SDKValidationError>;
/** @internal */
export declare const ConversationWithMessagesResponse$inboundSchema: z.ZodType<ConversationWithMessagesResponse, z.ZodTypeDef, unknown>;
export declare function conversationWithMessagesResponseFromJSON(jsonString: string): SafeParseResult<ConversationWithMessagesResponse, SDKValidationError>;
//# sourceMappingURL=conversationwithmessagesresponse.d.ts.map