import { JSXElementConstructor } from 'react'; import './attachmentItem.scss'; import { Attachment } from '../../model/attachment'; import { UseDataTransfer } from '../../hooks/useAttachmentDataHandler'; export type ActionProps = { onClick: () => void; className?: string; }; export type AttachmentCustomButtons = { deleteComponent: JSXElementConstructor; downloadComponent: JSXElementConstructor; }; export type AttachmentCustomItem = { customAttachmentItem: JSXElementConstructor; }; export interface AttachmentProps extends UseDataTransfer { file: Attachment; showPreview?: boolean; } export declare function AttachmentItem(props: AttachmentProps & AttachmentCustomButtons): JSX.Element;