import type { AIProviderName } from "../constants/enums.js"; import type { NeurolinkCredentials } from "../types/index.js"; import { OpenAIChatCompletionsProvider } from "./openaiChatCompletionsBase.js"; /** * Mistral AI Provider — direct HTTP, no AI SDK. * * OpenAI-compatible chat completions at api.mistral.ai/v1. All request/stream/ * tool-loop orchestration lives in `OpenAIChatCompletionsProvider`; this class * only declares configuration and the provider-specific error mapping. * * Mistral's `/chat/completions` accepts `response_format: { type: * "json_schema" }` on current models (mistral-small-2506 and newer), so no * structured-output downgrade is needed — the base client's default * pass-through is correct. * * @see https://docs.mistral.ai/api/ */ export declare class MistralProvider extends OpenAIChatCompletionsProvider { constructor(modelName?: string, sdk?: unknown, _region?: string, credentials?: NeurolinkCredentials["mistral"]); protected getProviderName(): AIProviderName; protected getDefaultModel(): string; protected formatProviderError(error: unknown): Error; protected getFallbackModelName(): string; protected getFallbackModels(): string[]; }