export class CometChatMessageComposer extends React.PureComponent<any, any, any> {
    static contextType: React.Context<{}>;
    constructor(props: any);
    range: any;
    sel: any;
    chatWindow: any;
    imageUploaderRef: React.RefObject<any>;
    fileUploaderRef: React.RefObject<any>;
    audioUploaderRef: React.RefObject<any>;
    videoUploaderRef: React.RefObject<any>;
    messageInputRef: React.RefObject<any>;
    liveReactionInProgress: boolean;
    isTyping: boolean;
    state: {
        showFilePicker: boolean;
        messageInput: string;
        messageType: string;
        emojiViewer: boolean;
        createPoll: boolean;
        messageToBeEdited: string;
        replyPreview: null;
        stickerViewer: boolean;
        messageToReact: string;
        shareDocument: boolean;
        shareWhiteboard: boolean;
        enableLiveReaction: boolean;
        enablePolls: boolean;
        enableTypingIndicator: boolean;
        enableStickers: boolean;
        enablePhotosVideos: boolean;
        enableFiles: boolean;
        enableEmojis: boolean;
        enableCollaborativeDocument: boolean;
        enableCollaborativeWhiteboard: boolean;
    };
    componentDidMount(): void;
    loggedInUser: CometChat.User | null | undefined;
    item: any;
    componentDidUpdate(prevProps: any, prevState: any): void;
    /**
     * if live reactions feature is disabled
     */
    enableLiveReaction: () => void;
    /**
     * if polls feature is disabled
     */
    enablePolls: () => void;
    /**
     * if typing indicator feature is disabled
     */
    enableTypingIndicator: () => void;
    /**
     * if stickers feature is disabled
     */
    enableStickers: () => void;
    /**
     * if uploding photos, videos feature is disabled
     */
    enablePhotosVideos: () => void;
    /**
     * if uploding files feature is disabled
     */
    enableFiles: () => void;
    /**
     * if sending emojis feature is disabled
     */
    enableEmojis: () => void;
    /**
     * if sharing collborative document feature is disabled
     */
    enableCollaborativeDocument: () => void;
    /**
     * if sharing collborative whiteboard feature is disabled
     */
    enableCollaborativeWhiteboard: () => void;
    focusOnMessageComposer: () => void;
    /**
     * Updates caret selection object
     */
    updateSelection(): void;
    /**
     * Pastes given html at caret position
     */
    pasteHtmlAtCaret(html: any): void;
    emojiClicked: (emoji: any) => void;
    changeHandler: (event: any) => void;
    toggleFilePicker: () => void;
    openFileDialogue: (fileType: any) => void;
    onImageChange: (e: any) => false | undefined;
    onFileChange: (e: any) => false | undefined;
    onAudioChange: (e: any) => false | undefined;
    onVideoChange: (e: any) => false | undefined;
    getReceiverDetails: () => {
        receiverId: any;
        receiverType: string | undefined;
    };
    sendMediaMessage: (messageInput: any, messageType: any) => void;
    sendMessageOnEnter: (event: any) => true | undefined;
    sendTextMessage: () => false | undefined;
    editMessage: () => void;
    closeEditPreview: () => void;
    startTyping: (timer: any, metadata: any) => false | undefined;
    endTyping: (event: any, metadata: any) => false | undefined;
    toggleStickerPicker: () => void;
    toggleEmojiPicker: () => void;
    toggleCreatePoll: () => void;
    toggleCollaborativeDocument: () => void;
    toggleCollaborativeBoard: () => void;
    closeCreatePoll: () => void;
    actionHandler: (action: any, message: any) => void;
    sendSticker: (stickerMessage: any) => void;
    sendReplyMessage: (messageInput: any) => void;
    clearReplyPreview: () => void;
    startLiveReaction: (event: any) => false | undefined;
    timeout: NodeJS.Timeout | undefined;
    stopLiveReaction: () => void;
    animationInProgress: boolean | undefined;
    sendTransientMessage: () => void;
    reactToMessages: (emoji: any) => void;
    render(): React.JSX.Element;
}
export namespace CometChatMessageComposer {
    namespace defaultProps {
        export { theme };
        export let reaction: string;
    }
    namespace propTypes {
        let theme_1: PropTypes.Requireable<object>;
        export { theme_1 as theme };
        let reaction_1: PropTypes.Requireable<string>;
        export { reaction_1 as reaction };
    }
}
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