import { BaseLLM } from "./base.js"; import type { ChatResponse, ChatResponseChunk, LLMChatParamsNonStreaming, LLMChatParamsStreaming } from "./types.js"; export declare const ALL_AVAILABLE_MISTRAL_MODELS: { "mistral-tiny": { contextWindow: number; }; "mistral-small": { contextWindow: number; }; "mistral-medium": { contextWindow: number; }; }; export declare class MistralAISession { apiKey?: string; private client; constructor(init?: Partial); getClient(): Promise; } /** * MistralAI LLM implementation */ export declare class MistralAI extends BaseLLM { model: keyof typeof ALL_AVAILABLE_MISTRAL_MODELS; temperature: number; topP: number; maxTokens?: number; apiKey?: string; safeMode: boolean; randomSeed?: number; private session; constructor(init?: Partial); get metadata(): { model: "mistral-tiny" | "mistral-small" | "mistral-medium"; temperature: number; topP: number; maxTokens: number | undefined; contextWindow: number; tokenizer: undefined; }; private buildParams; chat(params: LLMChatParamsStreaming): Promise>; chat(params: LLMChatParamsNonStreaming): Promise; protected streamChat({ messages, }: LLMChatParamsStreaming): AsyncIterable; }