import { AIClient, AIClientOptions, AgentContext } from "../interfaces/AIClient";
/**
 * XAI Client - Fallback provider using X AI API (Grok)
 *
 * This is a simplified client that uses the X AI API directly
 * as a secondary fallback when MyContext AI and Claude SDK are not available.
 */
export declare class XAIClient implements AIClient {
    readonly clientType: "direct-api";
    readonly supportsTools = false;
    readonly supportsStreaming = false;
    private apiKey;
    private baseUrl;
    constructor();
    /**
     * Check if API key is available
     */
    hasApiKey(): boolean;
    /**
     * Set API key for X AI API
     */
    setApiKey(apiKey: string): void;
    /**
     * Check connection to X AI API
     */
    checkConnection(): Promise<boolean>;
    /**
     * Generate text using X AI API
     */
    generateText(prompt: string, options?: AIClientOptions): Promise<string>;
    /**
     * Generate React component using X AI API
     */
    generateComponent(prompt: string, context?: AgentContext, options?: AIClientOptions): Promise<string>;
    /**
     * Generate component refinement using X AI API
     */
    generateComponentRefinement(componentCode: string, prompt: string, context?: AgentContext, options?: AIClientOptions): Promise<string>;
    /**
     * Generate text from image using X AI API (Multimodal)
     */
    generateVisionText(prompt: string, imagePath: string, options?: AIClientOptions): Promise<string>;
    /**
     * Generate image using X AI API
     */
    generateImage(prompt: string, outputPath: string, options?: AIClientOptions): Promise<string>;
    /**
     * List available models
     */
    listModels(): Promise<string[]>;
    /**
     * Cleanup resources
     */
    cleanup(): Promise<void>;
}
//# sourceMappingURL=XAIClient.d.ts.map