import type * as ElevenLabs from "../index"; export interface CustomLlm { /** The URL of the Chat Completions compatible endpoint */ url: string; /** The model ID to be used if URL serves multiple models */ modelId?: string; /** The API key for authentication. Either a workspace secret reference {'secret_id': '...'} or an environment variable reference {'env_var_label': '...'}. */ apiKey?: ElevenLabs.CustomLlmApiKey; /** Optional workspace auth connection for authentication. Only auth connections that produce an Authorization Bearer token are supported; Basic auth, mTLS, custom header, and URL secret auth connections are not supported. */ authConnection?: ElevenLabs.CustomLlmAuthConnection; /** Headers that should be included in the request */ requestHeaders?: Record; /** The API version to use for the request */ apiVersion?: string; /** The API type to use (chat_completions or responses) */ apiType?: ElevenLabs.CustomLlmapiType; }