import * as React from 'react'; import { FormTypes } from '@oneblink/types'; type Props = { element: FormTypes.FilesElement; isUploading?: boolean; isUploadPaused?: boolean; uploadErrorMessage?: string; loadAttachmentUrlError?: Error; isLoadingAttachmentUrl?: boolean; isContentTypeImage?: boolean; fileName: string; attachmentUrl: string | undefined | null; /** If set to `undefined`, the remove button will be hidden */ onRemove: (() => void) | undefined; onDownload?: () => void; onRetry?: () => void; onAnnotate?: () => void; onCrop?: () => void; progress: undefined | number; index: number; }; declare function FileCard({ element, isUploading, isUploadPaused, uploadErrorMessage, loadAttachmentUrlError, isLoadingAttachmentUrl, isContentTypeImage, attachmentUrl, fileName, onDownload, onRemove, onRetry, onAnnotate, onCrop, progress, index, }: Props): import("react/jsx-runtime").JSX.Element; declare const _default: React.MemoExoticComponent; export default _default;