import { UploadedFile } from '../types';
export type UploadItemProps = React.JSX.IntrinsicAttributes & {
    file: UploadedFile;
    /**
     * Is this Item part of a multiple- or single-file UploadInput
     */
    singleFileUpload: boolean;
    canDelete: boolean;
    onDelete: () => void;
    /**
     * Callback to be called when the file link is clicked.
     * When provided, you need to manually trigger actions to load/download the file.
     *
     * @param file
     */
    onDownload?: (file: UploadedFile) => void;
    ref?: React.Ref<UploadItemRef>;
};
interface UploadItemRef {
    focus: () => void;
}
export declare enum TEST_IDS {
    uploadItem = "uploadItem",
    mediaBody = "mediaBody"
}
declare const UploadItem: import("react").ForwardRefExoticComponent<Omit<UploadItemProps, "ref"> & import("react").RefAttributes<UploadItemRef>>;
export default UploadItem;
//# sourceMappingURL=UploadItem.d.ts.map