export type LlmProvider = "ollama" | "openai" | "ide"; export interface LlmOptions { provider?: LlmProvider; model?: string; baseUrl?: string; apiKey?: string; temperature?: number; numCtx?: number; } /** * Send a prompt to the configured LLM provider and get the full response. */ export declare function generate(prompt: string, systemPrompt: string, options?: LlmOptions): Promise; /** * Send a prompt and parse the response as JSON. * Retries up to maxRetries times if JSON parsing fails. */ export declare function generateJson(prompt: string, systemPrompt: string, options?: LlmOptions, maxRetries?: number): Promise; /** * Check if the configured provider is available. * For Ollama: pings the server and checks model availability. * For OpenAI: returns available (since we can't easily pre-check cloud APIs). */ export declare function checkProvider(options?: LlmOptions): Promise<{ available: boolean; error?: string; }>; //# sourceMappingURL=llm-client.d.ts.map