import React from "react"; import { DynamicContentStore } from "../../../DynamicContentStore"; import type { VirtualAgentDataSentences } from "../../../FlexSDK"; /** * An object properties representing the PredefinedMessage * * @typedef {Object} TranscriptMessagingCanvas.PredefinedMessage * @property {string} from - name of the sender * @property {Date} transcriptDate - date of the Transcript generation * @private */ export interface PredefinedMessage { from: string; transcriptDate?: Date; } /** * An object properties representing the TranscriptMessagingCanvas * * @typedef TranscriptMessagingCanvas.TranscriptMessagingCanvasProps * @property {PredefinedMessage} [predefinedMessage] - Defines the predefined, introductory message to be shown to a customer. * @property {Array} [conversation] - Array of messages in the transcript. * @private */ export interface TranscriptMessagingCanvasProps { conversation?: Array; predefinedMessage?: PredefinedMessage; loading?: boolean; } /** * A type representing different variations of Transcript Message style. * * @typedef {"Rounded" | "Squared" | "Minimal" | "Wide"} MessageStyle - Represents the style of a message. * @memberof TranscriptMessagingCanvasImpl * @private */ export type TranscriptMessageStyle = "Rounded" | "Squared" | "Minimal" | "Wide"; export declare const displayName = "TranscriptMessagingCanvas"; export declare const contentStore: DynamicContentStore; export declare const TranscriptMessagingCanvasImpl: React.FC & { displayName: string; }; export default TranscriptMessagingCanvasImpl;