import { AuxiliaryButtonAlignment } from "../Enums/Enums"; import { CometChatMessageComposerAction } from "@cometchat/uikit-resources"; import { MessageComposerStyle } from "../Styles/MessageComposerStyle"; import { BaseStyle } from "../Styles/BaseStyle"; import { CometChat } from "@cometchat-pro/chat"; /** * Class representing the configuration options for the message composer. * * @property {string} text - The initial text for the message composer. Default is an empty string. * @property {any} headerView - The view for the header of the message composer. * @property {any} onTextChange - The callback function for when the text in the message composer changes. * @property {string} attachmentIconURL - The URL of the attachment icon. Default is "assets/Plus.svg". * @property {CometChatMessageComposerAction[]} attachmentOptions - The attachment options for the message composer. * @property {any} secondaryButtonView - The view for the secondary button of the message composer. * @property {any} auxilaryButtonView - The view for the auxiliary button of the message composer. * @property {AuxiliaryButtonAlignment} auxiliaryButtonsAlignment - The alignment of the auxiliary buttons. Default is AuxiliaryButtonAlignment.right. * @property {any} sendButtonView - The view for the send button of the message composer. * @property {boolean} hideLiveReaction - Flag to hide live reaction. Default is false. * @property {string} LiveReactionIconURL - The URL of the live reaction icon. Default is "assets/heart-reaction.png". * @property {object} messageComposerStyle - The style for the message composer. * @property {any} onSendButtonClick - The callback function for when the send button is clicked. * @property {any} onError - The callback function for when an error occurs. */ declare class MessageComposerConfiguration { text: string; headerView: any; onTextChange: any; attachmentIconURL: string; attachmentOptions: ((item: CometChat.User | CometChat.Group, composerId: ComposerId) => CometChatMessageComposerAction[]) | undefined; secondaryButtonView: any; auxilaryButtonView: any; auxiliaryButtonsAlignment: AuxiliaryButtonAlignment; sendButtonView: any; hideLiveReaction: boolean; LiveReactionIconURL: string; messageComposerStyle: MessageComposerStyle; onSendButtonClick: ((message: CometChat.BaseMessage) => void) | undefined; onError: ((error: CometChat.CometChatException) => void) | null; backdropStyle: BaseStyle; constructor(props: Partial); } export declare type ComposerId = { parentMessageId: number | null; user: string | null; group: string | null; }; export { MessageComposerConfiguration }; //# sourceMappingURL=MessageComposerConfiguration.d.ts.map