import { UploadedAttachment } from './useAttachmentUpload'; export type CommentReplyInputProps = { /** Resolving to `false` keeps the draft, so a failed post can be retried. */ onSubmit: (body: string, attachments: UploadedAttachment[]) => void | boolean | Promise; author?: { name?: string; avatarUrl?: string; }; disabled?: boolean; placeholder?: string; autoFocus?: boolean; maxAttachments?: number; initialBody?: string; initialAttachments?: UploadedAttachment[]; onCancel?: () => void; /** Keeps the unsent text and attachments across unmounts, e.g. a hover popover closing. */ draftKey?: string; testId?: string; }; export declare const CommentReplyInput: ({ onSubmit, author, disabled, placeholder, autoFocus, maxAttachments, initialBody, initialAttachments, onCancel, draftKey, testId, }: CommentReplyInputProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=CommentReplyInput.d.ts.map