import { default as React } from 'react'; import { AttachmentDisplayConfig, ChatIcons, ChatReplyTarget, ChatSendPayload, ChatTooltips, EmojiConfig } from '../types'; export interface ComposerHandle { focus: () => void; insertText: (text: string) => void; } interface ComposerProps { placeholder?: string; text: string; onTextChange: (text: string) => void; onSend: (payload: ChatSendPayload) => void; disabled?: boolean; sendOnEnter?: boolean; showSendButton?: boolean; showMic?: boolean; isMicActive?: boolean; onMicClick?: () => void; icons?: ChatIcons; tooltips?: ChatTooltips; emoji?: EmojiConfig; attachments?: AttachmentDisplayConfig; pendingAttachments: File[]; onPendingAttachmentsChange: (files: File[]) => void; replyTo: ChatReplyTarget | null; onClearReplyTo: () => void; } declare const Composer: React.ForwardRefExoticComponent>; export default Composer;