import { XAIConfig, LiveSearchParams, ChatWithSearchParams, XAILiveSearchResponse, XAIChatResponse } from './types.js';
export declare class XAIClient {
    private config;
    private baseUrl;
    constructor(config: XAIConfig);
    testConnection(): Promise<boolean>;
    liveSearch(params: LiveSearchParams): Promise<XAILiveSearchResponse>;
    chatWithSearch(params: ChatWithSearchParams): Promise<XAIChatResponse>;
    private buildSearchParameters;
    private extractCitations;
}
//# sourceMappingURL=xai-client.d.ts.map