import type { AIProviderName } from "../constants/enums.js";
import { BaseProvider } from "../core/baseProvider.js";
import type { NeurolinkCredentials, StreamOptions, StreamResult, ValidationSchema } from "../types/index.js";
import type { LanguageModel } from "../types/index.js";
/**
 * xAI Grok Provider
 *
 * OpenAI-compatible chat completions at api.x.ai/v1. Supports the Grok
 * family: grok-2, grok-3, grok-3-mini, grok-2-vision-latest (multimodal),
 * and grok-beta. Streaming and tool calling supported.
 *
 * @see https://docs.x.ai/api
 */
export declare class XaiProvider extends BaseProvider {
    private model;
    private apiKey;
    private baseURL;
    constructor(modelName?: string, sdk?: unknown, _region?: string, credentials?: NeurolinkCredentials["xai"]);
    protected executeStream(options: StreamOptions, _analysisSchema?: ValidationSchema): Promise<StreamResult>;
    private executeStreamInner;
    protected getProviderName(): AIProviderName;
    protected getDefaultModel(): string;
    protected getAISDKModel(): LanguageModel;
    protected formatProviderError(error: unknown): Error;
    validateConfiguration(): Promise<boolean>;
    getConfiguration(): {
        provider: AIProviderName;
        model: string;
        defaultModel: string;
        baseURL: string;
    };
}
export default XaiProvider;
