/** * Lightweight LLM provider using OpenAI-compatible chat completions API. * * Configuration priority: * 1. Environment variables: OPENAI_API_KEY + OPENAI_BASE_URL * 2. Explicit config passed to constructor * * Uses Node 22 native fetch — no external dependencies. */ export interface LLMProviderConfig { apiKey?: string; baseUrl?: string; model?: string; } export interface ChatMessage { role: 'system' | 'user' | 'assistant'; content: string; } export declare class LLMProvider { private apiKey; private baseUrl; private model; constructor(config?: LLMProviderConfig); /** * Send a chat completion request and return the assistant's text response. */ chat(messages: ChatMessage[]): Promise; } //# sourceMappingURL=llm-provider.d.ts.map