import type { AIProviderName } from "../constants/enums.js"; import { BaseProvider } from "../core/baseProvider.js"; import type { NeurolinkCredentials, StreamOptions, StreamResult, ValidationSchema } from "../types/index.js"; import type { LanguageModel } from "../types/index.js"; /** * Mistral AI Provider v2 - BaseProvider Implementation * Supports official AI-SDK integration with all Mistral models */ export declare class MistralProvider extends BaseProvider { private model; constructor(modelName?: string, sdk?: unknown, _region?: string, credentials?: NeurolinkCredentials["mistral"]); protected executeStream(options: StreamOptions, _analysisSchema?: ValidationSchema): Promise; getProviderName(): AIProviderName; getDefaultModel(): string; /** * Returns the Vercel AI SDK model instance for Mistral */ getAISDKModel(): LanguageModel; formatProviderError(error: unknown): Error; /** * Validate provider configuration */ validateConfiguration(): Promise; /** * Get provider-specific configuration */ getConfiguration(): { provider: AIProviderName; model: string; defaultModel: string; }; } export default MistralProvider;