UNPKG

mx-ui-components

Version:

mobius ui library

78 lines (77 loc) 2.12 kB
import BaseComponent from "../Counter/BaseComponent"; declare class ChatMessage extends BaseComponent { private messageText; private senderType; private allStyles; private variant; private timestamp; private username; private dynamicFields; private status; private logs; private triggeredWorkflow; private currentTime; private dataMessage; private chatMessageId; private isRequestFavourite; private isResponseFavourite; private isCorePrompt; private presentSpeechPromptStateName; private attachedFileCDNLinks; private failedResponse; private props; private isEditing; private containerClasses; private branchCount; private currentBranch; private sessionId; private previousBranchId; private nextBranchId; private mainPromptId; private editedChildren; private branchId; constructor(); providingId(): void; connectedCallback(): void; disconnectedCallback(): void; checkFavourite(): boolean; parseString(input: string): { text: string; [key: string]: string; }; createObject(promptUuid: any, dataMessage: any): { bindings: { events: { onload: { actions: { addMarkup: string; }; }; }; } | undefined; props: { value: string | Promise<string>; senderType: "user" | "bot"; } | undefined; children: any[]; } | { children: { [key: string]: any; children: any[]; }[]; }; private favChange; private coreChange; private addEventListenerToChangeStateOfFavoriteOrCorePrompt; private removeEventListenerToChangeStateOfFavoriteOrCorePrompt; private selectionTooltip; private renderInteractive; private renderHistory; private getUserColor; private copyMessage; private branchDispatch; private createButtonWithIcon; private editMessage; private refreshPrompt; } export default ChatMessage;