import React from 'react';
import { FileType } from './Uploader';
import { UploaderLocale } from '../locales';
import { WithAsProps } from '../@types/common';
export interface UploadFileItemProps extends WithAsProps {
    file: FileType;
    listType: 'text' | 'picture-text' | 'picture';
    disabled?: boolean;
    className?: string;
    maxPreviewFileSize: number;
    classPrefix?: string;
    removable?: boolean;
    allowReupload?: boolean;
    locale?: UploaderLocale;
    renderFileInfo?: (file: FileType, fileElement: React.ReactNode) => React.ReactNode;
    onCancel?: (fileKey: number | string, event: React.MouseEvent) => void;
    onPreview?: (file: FileType, event: React.MouseEvent) => void;
    onReupload?: (file: FileType, event: React.MouseEvent) => void;
}
declare const UploadFileItem: React.ForwardRefExoticComponent<UploadFileItemProps & React.RefAttributes<HTMLDivElement>>;
export default UploadFileItem;
