import { mistral } from '@ai-sdk/mistral'; import { LooseToStrict, ModelInfo, RawiCredentials, StreamingResponse } from '../shared/types.js'; import { ChatProvider, ExecGenerationOptions, ExecGenerationResult } from './types.js'; import 'ai'; type LooseMistralModelId = Parameters[0]; type MistralModelId = LooseToStrict; declare const mistralModelIds: readonly ["ministral-3b-latest", "ministral-8b-latest", "mistral-large-latest", "mistral-medium-latest", "mistral-medium-2508", "mistral-medium-2505", "mistral-small-latest", "pixtral-large-latest", "magistral-small-2507", "magistral-medium-2507", "magistral-small-2506", "magistral-medium-2506", "pixtral-12b-2409", "open-mistral-7b", "open-mixtral-8x7b", "open-mixtral-8x22b"]; declare const mistralModels: ModelInfo[]; declare const mistralProvider: { name: "mistral"; displayName: string; models: ModelInfo[]; }; declare const streamWithMistral: (credentials: RawiCredentials, prompt: string) => Promise; declare const mistralChatProvider: ChatProvider; declare const generateWithMistral: (options: ExecGenerationOptions) => Promise; export { type MistralModelId, generateWithMistral, mistralChatProvider, mistralModelIds, mistralModels, mistralProvider, streamWithMistral };