import { default as React } from 'react';
interface SystemMessageProps {
    style?: React.CSSProperties;
    data: {
        content: string;
        imgs?: {
            uid: number | string;
            dataUrl: string;
        }[];
        uid: number | string;
        name: string;
        role?: string;
    };
    placeholder?: string;
    label?: React.ReactNode;
    height?: number;
    onUploadImage?: (list: {
        uid: number | string;
        dataUrl: string;
    }[]) => void;
    onDeleteImage?: (updatedImgs: {
        uid: number | string;
        dataUrl: string;
    }[]) => void;
    onChange: (e: any) => void;
    onPaste?: (e: any) => void;
    onDelete?: () => void;
    actions?: React.ReactNode;
    showUpload?: boolean;
    onSelect?: (data: {
        start: number;
        end: number;
        beforeText: string;
        afterText: string;
    }) => void;
}
declare const RowTextarea: React.FC<SystemMessageProps>;
export default RowTextarea;
