import { APIResource } from "../../../core/resource.mjs"; import { APIPromise } from "../../../core/api-promise.mjs"; import { RequestOptions } from "../../../internal/request-options.mjs"; export declare class Models extends APIResource { /** * List models supported by a chatbot, including full model configuration for each * entry. */ list(chatbotID: string, params?: ModelListParams | null | undefined, options?: RequestOptions): APIPromise; } /** * Model for a chatbot model item. * * Attributes: name (str): The name of the chatbot model. display_name (str): The * display name of the chatbot model. description (str): A brief description of the * chatbot model. icon (str): The icon representing the chatbot model. * supported_attachments (dict[str, list[str]]): Supported attachment types and * formats. */ export interface ChatbotModelItem { /** * A brief description of the chatbot model */ description: string; /** * The display name of the chatbot model */ display_name: string; /** * The icon representing the chatbot model */ icon: string; /** * The name of the chatbot model */ name: string; /** * Supported attachment types and formats */ supported_attachments: { [key: string]: Array; }; } /** * Response model for listing chatbot models (`GET /v2/chatbots/{id}/models`). */ export interface ModelListResponse { models: Array; } export interface ModelListParams { 'Accept-Language'?: string; /** * Set to `structured` to receive errors in the structured envelope. Omit it to * keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace Models { export { type ChatbotModelItem as ChatbotModelItem, type ModelListResponse as ModelListResponse, type ModelListParams as ModelListParams, }; } //# sourceMappingURL=models.d.mts.map