import type { OllamaChatRequest, OllamaChatResponse } from './types/index.js'; /** * MistralClient - Wraps @mistralai/mistralai SDK to match Eden's * OllamaChatRequest/Response interface so the agent can use it * as a drop-in replacement for other providers. */ export declare class MistralClient { private client; private getClient; /** Reset cached client (e.g. after key change) */ resetClient(): void; /** * Sanitize messages for Mistral API compatibility. * - Remove assistant messages with neither content nor tool_calls * - Set content to undefined when tool_calls are present but content is empty */ private sanitizeMessages; /** * Convert Eden/Ollama-style tools to Mistral SDK format. * Mistral expects OpenAI-compatible tool definitions. */ private convertTools; /** * Streaming chat that yields OllamaChatResponse-compatible chunks. */ chatStream(request: OllamaChatRequest, signal?: AbortSignal): AsyncGenerator; /** * Non-streaming chat (for simple one-shot calls). */ chat(request: OllamaChatRequest): Promise; } export declare const mistralClient: MistralClient; //# sourceMappingURL=mistral-client.d.ts.map