import type * as SarvamAI from "../index.js"; export interface ChatCompletionResponseMessage { /** Assistant message text. May be `null` when `tool_calls` is present. */ content?: string | undefined; refusal?: string | undefined; /** Visible reasoning trace from the model, when supported. Billed as completion tokens. */ reasoning_content?: string | undefined; /** The role of the author of this message. */ role: ChatCompletionResponseMessage.Role; /** The tool calls generated by the model. */ tool_calls?: SarvamAI.ChatCompletionMessageToolCall[] | undefined; } export declare namespace ChatCompletionResponseMessage { /** One of `user`, `assistant`, `system`, `developer`. Any other role is `400`. */ const Role: { readonly User: "user"; readonly Assistant: "assistant"; readonly System: "system"; readonly Developer: "developer"; }; type Role = (typeof Role)[keyof typeof Role]; }