import { ReactNode } from 'react'; import { AttachmentPreviewItem } from '../AttachmentPreview/AttachmentPreview.types'; export type CommentInputProps = { placeholder?: string; value?: string; onChange?: (value: string) => void; onSubmit?: (value: string) => void; onCancel?: () => void; disabled?: boolean; autoFocus?: boolean; minRows?: number; maxRows?: number; /** Editable control rendered in place of the built-in textarea. */ field?: ReactNode; canSubmit?: boolean; /** Drop the outer surface so the field sits flush, for the in-card reply input. */ bare?: boolean; leading?: ReactNode; /** Replaces the default send button. */ trailing?: ReactNode; sendTooltip?: string; attachments?: AttachmentPreviewItem[]; onAttachmentRemove?: (id: AttachmentPreviewItem['id']) => void; onAttachmentRetry?: (id: AttachmentPreviewItem['id']) => void; /** Enables drag-to-reorder on the attachment strip. */ onAttachmentReorder?: (orderedIds: AttachmentPreviewItem['id'][]) => void; /** Enables dropping files from the desktop onto the composer. */ onFilesDrop?: (files: File[]) => void; /** Given a pasted link that points at an image. */ onImageLinkPaste?: (url: string) => void; dropLabel?: string; /** Extra content in the attachment area, e.g. an upload-error banner. */ attachmentSlot?: ReactNode; toolbar?: ReactNode; footer?: ReactNode; /** Render flush inside a host surface: no background, full-width divider. */ embedded?: boolean; className?: string; testId?: string; }; export declare const CommentInput: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=CommentInputNext.d.ts.map