export class CometChatMessages extends React.PureComponent<any, any, any> {
    static contextType: React.Context<{}>;
    constructor(props: any);
    loggedInUser: CometChat.User | null;
    state: {
        messageList: never[];
        scrollToBottom: boolean;
        messageToBeEdited: string;
        replyPreview: null;
        liveReaction: boolean;
        messageToReact: null;
        unreadMessages: never[];
        viewdetailscreen: boolean;
        threadmessageview: boolean;
        threadmessagetype: null;
        threadmessageitem: {};
        threadmessageparent: {};
        viewOriginalImage: boolean;
        enableGroupActionMessages: boolean;
        enableCallActionMessages: boolean;
        enableSendingOneOnOneMessage: boolean;
        enableSendingGroupMessage: boolean;
        enableHideDeletedMessages: boolean;
    };
    contextProviderRef: React.RefObject<any>;
    composerRef: React.RefObject<any>;
    messageListRef: React.RefObject<any>;
    outgoingCallRef: React.RefObject<any>;
    outgoingDirectCallRef: React.RefObject<any>;
    toastRef: React.RefObject<any>;
    reactionName: string;
    componentDidMount(): void;
    type: any;
    item: any;
    componentDidUpdate(prevProps: any, prevState: any): void;
    directCallCustomMessage: any;
    directCallCustomMessageAction: any;
    enableGroupActionMessages: () => void;
    enableCallActionMessages: () => void;
    enableSendingOneOnOneMessage: () => void;
    enableSendingGroupMessage: () => void;
    enableHideDeletedMessages: () => void;
    getContext: () => any;
    actionHandler: (action: any, messages: any, key: any, group: any, options: any) => void;
    errorHandler: (errorCode: any) => void;
    infoMessageHandler: (infoCode: any) => void;
    appendMemberAddedMessage: (messages: any) => false | undefined;
    appendMemberUnbannedMessage: (messages: any) => false | undefined;
    appendMemberScopeChangedMessage: (messages: any) => false | undefined;
    appendMemberKickedMessage: (messages: any) => false | undefined;
    appendMemberBannedMessage: (messages: any) => false | undefined;
    toggleOriginalImageView: (message: any) => void;
    toggleDetailView: () => void;
    viewThreadedMessage: (parentMessage: any) => void;
    threadMessageComposed: (messages: any) => false | undefined;
    closeThreadedMessage: () => void;
    updateParentThreadedMessage: (message: any, action: any) => false | undefined;
    getReceiverDetails: () => {
        receiverId: any;
        receiverType: string | undefined;
    };
    audioCall: () => void;
    videoCall: () => void;
    toggleReaction: (flag: any) => void;
    liveReactionReceived: (reaction: any) => void;
    deleteMessage: (message: any) => void;
    editMessage: (message: any) => void;
    messageEdited: (message: any) => void;
    messageSent: (messages: any) => void;
    refreshingMessages: () => void;
    messageRefreshed: (messages: any) => void;
    newMessagesArrived: (newMessage: any) => void;
    markMessagesAsRead: (scrollToBottom: any) => false | undefined;
    jumpToMessages: () => false | undefined;
    removeMessages: (messages: any) => void;
    prependMessagesAndScrollToBottom: (messages: any) => void;
    prependMessages: (messages: any) => void;
    appendMessage: (message: any) => void;
    updateMessages: (messages: any) => void;
    groupUpdated: (action: any, message: any, group: any, options: any) => void;
    appendCallMessage: (message: any) => false | undefined;
    updateReplyCount: (messages: any) => void;
    smartReplyPreview: (messages: any) => false | undefined;
    clearEditPreview: () => void;
    reactToMessage: (message: any) => void;
    render(): React.JSX.Element | null;
}
export namespace CometChatMessages {
    namespace defaultProps {
        export let lang: any;
        export { theme };
        export let _parent: string;
        export let widgetsettings: {};
        export let chatWithUser: string;
        export let chatWithGroup: string;
    }
    namespace propTypes {
        let lang_1: PropTypes.Requireable<string>;
        export { lang_1 as lang };
        let theme_1: PropTypes.Requireable<object>;
        export { theme_1 as theme };
        let _parent_1: PropTypes.Requireable<string>;
        export { _parent_1 as _parent };
        let widgetsettings_1: PropTypes.Requireable<object>;
        export { widgetsettings_1 as widgetsettings };
        let chatWithUser_1: PropTypes.Requireable<string>;
        export { chatWithUser_1 as chatWithUser };
        let chatWithGroup_1: PropTypes.Requireable<string>;
        export { chatWithGroup_1 as chatWithGroup };
    }
}
import React from 'react';
import { CometChat } from '@cometchat-pro/chat';
import { theme } from '../../../resources/theme';
import PropTypes from 'prop-types';
//# sourceMappingURL=index.d.ts.map