import { mistral as _mistral } from "@ai-sdk/mistral"; import { AISDKLanguageModel } from "../language-model.js"; /** * Mistral model IDs (derived from @ai-sdk/mistral). */ export type MistralModelId = Parameters[0]; /** * Options for creating a custom Mistral provider. */ export interface MistralProviderOptions { /** API key for authentication */ apiKey?: string; /** Custom base URL */ baseURL?: string; /** Custom headers */ headers?: Record; } /** * Create a custom Mistral provider with explicit credentials. * * @example * ```ts * const mistral = createMistral({ apiKey: "..." }); * const model = mistral("mistral-large-latest"); * ``` */ export declare function createMistral(options?: MistralProviderOptions): (modelId: MistralModelId) => AISDKLanguageModel; /** * Create a kernl-compatible Mistral language model. * Uses MISTRAL_API_KEY environment variable. * * @example * ```ts * import { mistral } from '@kernl-sdk/ai/mistral'; * * const model = mistral('mistral-large-latest'); * const response = await model.generate([...], {}); * ``` */ export declare function mistral(modelId: MistralModelId): AISDKLanguageModel; //# sourceMappingURL=mistral.d.ts.map