export interface ChatTitleRequest { message: string; appId?: string; /** * The engine and model the thread's turn was sent with. Without them the * title runs on the deployment's default model, which the user's own key * may not be able to call. */ engine?: string; model?: string; } export declare function chatTitleRequestFromBody(body: unknown): ChatTitleRequest | null; /** A 3-6 word tab title for a chat's first message. Throws when the model call fails. */ export declare function generateChatTitle(request: ChatTitleRequest): Promise;