import { Attachment } from './models/attachment'; export type SingleAttachmentType = Attachment; export { useFileToAttachment } from './hooks/useFileToAttachment'; export interface AddAttachmentsProps { attachments: Attachment[]; onChange?: (attachments: Attachment[]) => void; onFilesSelected?: (files: File[]) => void; onRemoveAttachment?: (attachmentId: string) => void; editMode?: boolean; isMutating?: boolean; onCopyToWorkspace?: (attachments: Attachment[], folderId: string) => Promise; /** Si fourni, chaque pièce jointe affiche un bouton télécharger avec l'URL retournée. */ getDownloadUrl?: (attachmentId: string) => string; /** Si fourni et qu'il y a plusieurs pièces jointes, affiche un bouton « télécharger tout ». */ downloadAllUrl?: string; } export declare const AddAttachments: { ({ attachments, onChange, onFilesSelected, onRemoveAttachment, editMode, isMutating, onCopyToWorkspace, getDownloadUrl, downloadAllUrl, }: AddAttachmentsProps): import("react/jsx-runtime").JSX.Element | null; displayName: string; }; export default AddAttachments;