import React from 'react';
import { DraggableProvided } from 'react-beautiful-dnd';
import AttachmentFile from '../data-set/AttachmentFile';
import { AttachmentListType } from './Attachment';
export interface ItemProps {
    attachment: AttachmentFile;
    onUpload: (attachment: AttachmentFile) => void;
    onHistory?: (attachment: AttachmentFile, attachmentUUID: string) => void;
    onPreview?: () => void;
    onRemove: (attachment: AttachmentFile) => Promise<any> | undefined;
    readOnly?: boolean;
    isCard?: boolean;
    prefixCls?: string;
    pictureWidth?: number;
    restCount?: number;
    index?: number;
    listType?: AttachmentListType;
    bucketName?: string;
    bucketDirectory?: string;
    storageCode?: string;
    showSize?: boolean;
    attachmentUUID?: string;
    provided: DraggableProvided;
    draggable?: boolean;
    hidden?: boolean;
    isPublic?: boolean;
    previewTarget?: string;
}
declare const _default: React.FunctionComponent<ItemProps>;
export default _default;
