import type { AIProviderName } from "../constants/enums.js";
import type { NeurolinkCredentials } from "../types/index.js";
import { OpenAIChatCompletionsProvider } from "./openaiChatCompletionsBase.js";
/**
 * xAI Grok Provider — direct HTTP, no AI SDK.
 *
 * OpenAI-compatible chat completions at api.x.ai/v1 (Grok family:
 * grok-3, grok-3-mini, grok-2-latest, grok-2-vision-latest, grok-beta).
 * All request/stream/tool-loop orchestration lives in
 * `OpenAIChatCompletionsProvider`; this class only declares configuration
 * and provider-specific error mapping.
 *
 * @see https://docs.x.ai/api
 */
export declare class XaiProvider extends OpenAIChatCompletionsProvider {
    constructor(modelName?: string, sdk?: unknown, _region?: string, credentials?: NeurolinkCredentials["xai"]);
    protected getProviderName(): AIProviderName;
    protected getDefaultModel(): string;
    protected getFallbackModelName(): string;
    protected getFallbackModels(): string[];
    protected formatProviderError(error: unknown): Error;
}
