import React, { ReactNode } from 'react';
import AttachmentFile from '../data-set/AttachmentFile';
import Record from '../data-set/Record';
import { AttachmentListType } from './Attachment';
export interface AttachmentListProps {
    prefixCls: string;
    attachments?: AttachmentFile[];
    listType?: AttachmentListType;
    pictureWidth: number;
    limit?: number;
    onUpload: (attachment: AttachmentFile) => void;
    onHistory?: (attachment: AttachmentFile, attachmentUUID: string) => void;
    onRemove: (attachment: AttachmentFile) => Promise<any> | undefined;
    onOrderChange: (props: {
        attachments: AttachmentFile[];
    }) => void;
    onFetchAttachments: (props: {
        bucketName?: string;
        bucketDirectory?: string;
        storageCode?: string;
        attachmentUUID: string;
        isPublic?: boolean;
    }) => void;
    onAttachmentsChange: (attachments: AttachmentFile[] | undefined) => void;
    onPreview: () => void;
    previewTarget?: string;
    bucketName?: string;
    bucketDirectory?: string;
    storageCode?: string;
    attachmentUUID?: string;
    uploadButton?: ReactNode;
    sortable?: boolean;
    readOnly?: boolean;
    showHistory?: boolean;
    showSize?: boolean;
    isPublic?: boolean;
    record?: Record;
}
declare const _default: React.FunctionComponent<AttachmentListProps>;
export default _default;
