/** * Solutions template plugin class * * @decorator Class */ declare class AnswersTemplatesPlugin { name: string; config: {}; hostInstance: any; streamingMessages: Map; constructor(config: any); onHostCreate(): void; getFeedbackSettings(): void; getFeedbackSettingsAPICall(callback: any): Promise; onInit(): void; /** * To install the solutions templates */ installPickerTemplates(): void; /** * Handles streaming messages for answer template */ handleStreamingMessage(msgData: any): void; /** * Updates the streaming message in the DOM with accumulated text */ updateStreamingMessage(messageId: string, fullText: string): void; /** * Finalizes streaming and replaces with full answer template */ stopStreamingMessage(messageId: string): void; } export default AnswersTemplatesPlugin;