import { DatePatterns, MessageListAlignment } from "../Enums/Enums"; import { CometChatMessageTemplate } from "@cometchat/uikit-resources"; import { AvatarStyle } from '@cometchat/uikit-elements'; import { TimestampAlignment } from "../Enums/Enums"; import { DateStyle } from "@cometchat/uikit-elements"; import { MessageListStyle } from '../Styles/MessageListStyle'; import { CometChat } from "@cometchat-pro/chat"; import { BaseStyle } from "../Styles/BaseStyle"; /** * @property {any} emptyStateView - The view to be displayed in case there are no messages. * @property {any} errorStateView - The view to be displayed in case of error. * @property {any} loadingStateView - The view to be displayed when messages are being fetched. * @property {boolean} disableReadReceipt - The flag to enable/disable read receipts. * @property {string} readIcon - The icon to be displayed as read receipt. * @property {string} deliveredIcon - The icon to be displayed as delivered receipt. * @property {string} sentIcon - The icon to be displayed as sent receipt. * @property {string} waitIcon - The icon to be displayed as wait receipt. * @property {string} errorIcon - The icon to be displayed as error receipt. * @property {string} alignment - The alignment of the messages (standard, reverse). * @property {boolean} showAvatar - The flag to enable/disable showing avatars. * @property {DatePatterns} datePattern - The date pattern for the messages. * @property {TimestampAlignment} timestampAlignment - The alignment of the timestamps (top, bottom). * @property {DatePatterns} DateSeparatorPattern - The date pattern for the date separators. * @property {CometChatMessageTemplate[]} templates - The types of messages to be displayed. * @property {any} messagesRequestBuilder - The builder to fetch messages. * @property {number} thresholdValue - The threshold value to fetch messages. * @property {any} onThreadRepliesClick - The function to be called when thread replies are clicked. * @property {any} headerView - The header view to be displayed above the messages. * @property {any} footerView - The footer view to be displayed below the messages. * @property {BaseStyle} wrapperMessageBubbleStyle - The style for the message bubble. * @property {AvatarStyle} avatarStyle - The style for the avatar. * @property {DateStyle} dateSeparatorStyle - The style for the date separator. * @property {MessageListStyle} messageListStyle - The style for the message list. * @property {any} onError - The function to be called in case of error. */ declare class MessageListConfiguration { emptyStateView: any; errorStateView: any; loadingStateView: any; disableReceipt: boolean; readIcon: string; deliveredIcon: string; sentIcon: string; waitIcon: string; errorIcon: string; alignment: MessageListAlignment; showAvatar: boolean; datePattern: DatePatterns; timestampAlignment: TimestampAlignment; DateSeparatorPattern: DatePatterns; templates: CometChatMessageTemplate[]; messagesRequestBuilder: CometChat.MessagesRequestBuilder; thresholdValue: number; onThreadRepliesClick: any; headerView: any; footerView: any; avatarStyle: AvatarStyle; dateSeparatorStyle: DateStyle; messageListStyle: MessageListStyle; onError: ((error: CometChat.CometChatException) => void) | null; backdropStyle: BaseStyle; constructor(props: Partial); } export { MessageListConfiguration }; //# sourceMappingURL=MessageListConfiguration.d.ts.map