import type { AIProviderName } from "../constants/enums.js"; import type { NeurolinkCredentials } from "../types/index.js"; import { OpenAIChatCompletionsProvider } from "./openaiChatCompletionsBase.js"; /** * LM Studio Provider — direct HTTP, no AI SDK. * * Wraps the LM Studio local server (https://lmstudio.ai/) which exposes an * OpenAI-compatible API at http://localhost:1234/v1 by default. * Auto-discovers the loaded model via /v1/models if no model is specified. * All request/stream/tool-loop orchestration lives in * `OpenAIChatCompletionsProvider`; this class only declares configuration * and provider-specific error mapping. * * @see https://lmstudio.ai/ */ export declare class LMStudioProvider extends OpenAIChatCompletionsProvider { constructor(modelName?: string, sdk?: unknown, _region?: string, credentials?: NeurolinkCredentials["lmStudio"]); protected getProviderName(): AIProviderName; protected getDefaultModel(): string; protected getFallbackModelName(): string; protected formatProviderError(error: unknown): Error; validateConfiguration(): Promise; getConfiguration(): { provider: AIProviderName; model: string; defaultModel: string; baseURL: string; }; }