'use strict';

var type = require('../_util/type.js');

function uploadProps() {
  return {
    "capture": type.someType([Boolean, String]),
    "type": type.stringType(),
    "name": String,
    "defaultFileList": type.arrayType(),
    "fileList": type.arrayType(),
    "action": type.someType([String, Function]),
    "directory": type.booleanType(),
    "data": type.someType([Object, Function]),
    "method": type.stringType(),
    "headers": type.objectType(),
    "showUploadList": type.someType([Boolean, Object]),
    "multiple": type.booleanType(),
    "accept": String,
    "beforeUpload": type.functionType(),
    "onChange": type.functionType(),
    "onUpdate:fileList": type.functionType(),
    "onDrop": type.functionType(),
    "listType": type.stringType(),
    "onPreview": type.functionType(),
    "onDownload": type.functionType(),
    "onReject": type.functionType(),
    "onRemove": type.functionType(),
    /** @deprecated Please use `onRemove` directly */
    "remove": type.functionType(),
    "supportServerRender": type.booleanType(),
    "disabled": type.booleanType(),
    "prefixCls": String,
    "customRequest": type.functionType(),
    "withCredentials": type.booleanType(),
    "openFileDialogOnClick": type.booleanType(),
    "locale": type.objectType(),
    "id": String,
    "previewFile": type.functionType(),
    /** @deprecated Please use `beforeUpload` directly */
    "transformFile": type.functionType(),
    "iconRender": type.functionType(),
    "isImageUrl": type.functionType(),
    "progress": type.objectType(),
    "itemRender": type.functionType(),
    /** Config max count of `fileList`. Will replace current one when `maxCount` is 1 */
    "maxCount": Number,
    "height": type.someType([Number, String]),
    "removeIcon": type.functionType(),
    "downloadIcon": type.functionType(),
    "previewIcon": type.functionType()
  };
}
function uploadListProps() {
  return {
    listType: type.stringType(),
    onPreview: type.functionType(),
    onDownload: type.functionType(),
    onRemove: type.functionType(),
    items: type.arrayType(),
    progress: type.objectType(),
    prefixCls: type.stringType(),
    showRemoveIcon: type.booleanType(),
    showDownloadIcon: type.booleanType(),
    showPreviewIcon: type.booleanType(),
    removeIcon: type.functionType(),
    downloadIcon: type.functionType(),
    previewIcon: type.functionType(),
    locale: type.objectType(void 0),
    previewFile: type.functionType(),
    iconRender: type.functionType(),
    isImageUrl: type.functionType(),
    appendAction: type.functionType(),
    appendActionVisible: type.booleanType(),
    itemRender: type.functionType()
  };
}

exports.uploadListProps = uploadListProps;
exports.uploadProps = uploadProps;
//# sourceMappingURL=interface.js.map
