import { HttpClient } from '@angular/common/http'; import { ChatWidgetConfig, SendMessageResponse, ChatHistoryMessage, ChatListItem, KnowledgeGraphResponse, StreamMessageHandlers } from './types'; import * as i0 from "@angular/core"; export declare class ChatWidgetService { private http; private config; constructor(http: HttpClient, config: ChatWidgetConfig); setConfig(config: ChatWidgetConfig): void; private getHeaders; private joinUrl; private resolveOnce; private resolveEndpoint; resolveDocumentUrl(filename: string, pageNumber?: number | null): string; loadKnowledgeGraph(docUuid: string, options?: { maxNodes?: number; maxEdges?: number; }): Promise; private appendChatIdQuery; createChat(chatId: string, title?: string): Promise; updateChat(chatId: string, payload: { title?: string; pinned?: boolean; }): Promise; deleteChat(chatId: string): Promise; loadChats(): Promise; loadHistory(chatId: string): Promise; sendMessage(chatId: string, message: string): Promise; submitFeedback(chatId: string, message: ChatHistoryMessage, isLike: boolean): Promise; streamMessage(chatId: string, message: string, handlers: StreamMessageHandlers): Promise; private parseMessageResponse; private parseArrayMessageResponse; private normalizeHistoryMessages; private normalizeHistoryRole; private citationsFromContent; private consumeStreamBuffer; private extractJsonObjects; private normalizeCitations; private normalizeKnowledgeGraphResponse; private extractEdgeNodeId; private toNullableNumber; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }