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";
export type GenerateConversationNameRequestBody = {
    /**
     * Conversation context used to generate a meaningful display name. Typically the first user message or a conversation summary.
     */
    context: string;
};
export type GenerateConversationNameRequest = {
    /**
     * The unique identifier of the conversation to generate a name for
     */
    conversationId: string;
    requestBody: GenerateConversationNameRequestBody;
};
/**
 * Resource type discriminator.
 */
export declare const GenerateConversationNameKind: {
    readonly Conversation: "conversation";
};
/**
 * Resource type discriminator.
 */
export type GenerateConversationNameKind = ClosedEnum<typeof GenerateConversationNameKind>;
/**
 * Additional conversation metadata.
 */
export type GenerateConversationNameMetadata = {
    /**
     * 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;
};
/**
 * Conversation name successfully generated and updated. Returns the complete updated conversation object.
 */
export type GenerateConversationNameResponseBody = {
    /**
     * Unique conversation identifier with `conv_` prefix.
     */
    id: string;
    /**
     * Resource type discriminator.
     */
    kind: GenerateConversationNameKind;
    /**
     * 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?: GenerateConversationNameMetadata | undefined;
};
/** @internal */
export type GenerateConversationNameRequestBody$Outbound = {
    context: string;
};
/** @internal */
export declare const GenerateConversationNameRequestBody$outboundSchema: z.ZodType<GenerateConversationNameRequestBody$Outbound, z.ZodTypeDef, GenerateConversationNameRequestBody>;
export declare function generateConversationNameRequestBodyToJSON(generateConversationNameRequestBody: GenerateConversationNameRequestBody): string;
/** @internal */
export type GenerateConversationNameRequest$Outbound = {
    conversation_id: string;
    RequestBody: GenerateConversationNameRequestBody$Outbound;
};
/** @internal */
export declare const GenerateConversationNameRequest$outboundSchema: z.ZodType<GenerateConversationNameRequest$Outbound, z.ZodTypeDef, GenerateConversationNameRequest>;
export declare function generateConversationNameRequestToJSON(generateConversationNameRequest: GenerateConversationNameRequest): string;
/** @internal */
export declare const GenerateConversationNameKind$inboundSchema: z.ZodNativeEnum<typeof GenerateConversationNameKind>;
/** @internal */
export declare const GenerateConversationNameMetadata$inboundSchema: z.ZodType<GenerateConversationNameMetadata, z.ZodTypeDef, unknown>;
export declare function generateConversationNameMetadataFromJSON(jsonString: string): SafeParseResult<GenerateConversationNameMetadata, SDKValidationError>;
/** @internal */
export declare const GenerateConversationNameResponseBody$inboundSchema: z.ZodType<GenerateConversationNameResponseBody, z.ZodTypeDef, unknown>;
export declare function generateConversationNameResponseBodyFromJSON(jsonString: string): SafeParseResult<GenerateConversationNameResponseBody, SDKValidationError>;
//# sourceMappingURL=generateconversationname.d.ts.map