/** * xAI (Grok) provider implementation * * The xAI API is OpenAI-compatible, so this provider talks to it through the * OpenAI SDK pointed at xAI's base URL. Requires an API key. * * HTTP Agent Pooling Status: ✅ IMPLEMENTED * Implementation: HttpsAgent with keepAlive: true, configured via httpAgent option * * Self-registers with the LLM Provider Registry using dependency inversion pattern */ import type { LLMCompletionOptions, LLMCompletionResult } from '../../types/llm.types.js'; import { BaseLLMProvider } from '../provider.interface.js'; export declare class XAIProvider extends BaseLLMProvider { name: import("../../config/providers.config.js").ProviderName; private client; complete(options: LLMCompletionOptions): Promise; getAlternativeModels(currentModel?: string): string[]; isConfigured(): boolean; streamComplete(options: LLMCompletionOptions, onChunk: (chunk: string) => void): Promise; validateModel(modelName: string): Promise; private extractUsage; private getBaseURL; private getClient; private processStream; /** * Resolve `temperature`/`top_p` to send, or `undefined` to omit them entirely. * Reasoning-controlled models (see REASONING_CONTROLLED_MODELS) reject both as * unsupported parameters. */ private resolveSamplingParams; } //# sourceMappingURL=xai.provider.d.ts.map