import React, { CSSProperties } from 'react';
import './index.css';
export interface MessageInputProps {
    updateErrVisible?: (visible: boolean) => void;
    onMsg?: (msg: string) => void;
    limitation?: number;
    styles?: CSSProperties;
    placeholder?: string;
    onEmoji?: (emoji: string) => void;
    onFile?: (file: string) => void;
    handleClickUploadImage?: () => void;
    defaultMsg?: string;
    updateChatTextMsg?: (textMsgInfo: {
        textMsg: string;
        height: number;
    }) => void;
    autoSizeParams?: {
        minHeight?: number;
        maxHeight?: number;
        initHeight?: number;
    };
}
export declare const MessageTextArea: React.ForwardRefExoticComponent<MessageInputProps & React.RefAttributes<{
    dom: HTMLTextAreaElement | null;
}>>;
