import { HttpClient } from '@sisense/sdk-rest-client'; import { ChatContextDetails } from '../../../modules/ai/api/types'; import type { Chat, ChatContext, ChatRequest, ChatResponse, ChatWithoutHistory, GetNlgInsightsRequest, GetNlqResultRequest, LlmConfig, NlqResult, QueryRecommendationConfig, QueryRecommendationResponse, SendFeedbackRequest } from './types'; /** @internal */ export declare class ChatRestApi { private readonly volatile; private httpClient; private readonly isUnifiedNarrationEnabled; private readonly isSisenseAiEnabled; constructor(httpClient: HttpClient, volatile?: boolean, isUnifiedNarrationEnabled?: boolean, isSisenseAiEnabled?: 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; }; }; }