import React from 'react'; import { ChatSDK } from '../../SDK'; import { CurrentConversation } from '../../store/ConversationStore'; export interface TextareaProps { prefix?: string; className?: string; style?: React.CSSProperties; placeholder?: string; hasSendButton?: boolean; sendButtonActiveColor?: string; enableEnterSend?: boolean; enabledMention?: boolean; enabledTyping?: boolean; isChatThread?: boolean; onSendMessage?: (message: ChatSDK.TextMsgBody) => void; conversation?: CurrentConversation; onBeforeSendMessage?: (message: ChatSDK.MessageBody) => Promise; onChange?: (value: string) => void; onFocus?: () => void; } export interface ForwardRefProps { setTextareaValue: (value: string) => void; divRef: React.RefObject; } declare const Textarea: React.ForwardRefExoticComponent>; export { Textarea };