import type * as SarvamAI from "../index.js"; export interface ChatCompletionRequestGenericMessage { /** The role of the messages author. */ role: string; /** The contents of the message. */ content: ChatCompletionRequestGenericMessage.Content; /** An optional name for the participant. */ name?: string | undefined; } export declare namespace ChatCompletionRequestGenericMessage { /** * A string, or an array of content parts. Assistant `output_text` / `input_text` parts are flattened to one string on the way out. A non-text part on an assistant turn is `400`. */ type Content = string | SarvamAI.ResponseInputContentPart[]; }