import { HttpClient } from '@sisense/sdk-rest-client'; import type { Chat, ChatRequest, ChatResponse, ChatWithoutHistory, ChatContext, GetNlgInsightsRequest, GetNlgInsightsResponse, LlmConfig, QueryRecommendationConfig, QueryRecommendationResponse, SendFeedbackRequest, GetNlqResultRequest, NlqResult } from './types'; import { ChatContextDetails } from '../../ai/api/types'; /** @internal */ export declare class ChatRestApi { private readonly volatile; private httpClient; constructor(httpClient: HttpClient, volatile?: boolean); getChatContexts: () => Promise; private getNlgInsights; private getQueryRecommendations; private getNlqResult; private setLlmConfig; private getAllChats; private getChatById; private createChat; private postChat; private deleteChatHistory; private sendFeedback; ai: { getNlgInsights: (request: GetNlgInsightsRequest) => Promise; getNlqResult: (contextTitle: string, request: GetNlqResultRequest) => Promise; getQueryRecommendations: (contextTitle: string, config: QueryRecommendationConfig) => Promise; setLlmConfig: (config: LlmConfig) => Promise; sendFeedback: (request: SendFeedbackRequest) => Promise; chat: { getAll: () => Promise; getById: (chatId: string) => Promise; create: (sourceId: string, contextDetails?: ChatContextDetails) => Promise; post: (chatId: string, request: ChatRequest) => Promise; clearHistory: (chatId: string) => Promise; }; }; } //# sourceMappingURL=chat-rest-api.d.ts.map