import React from 'react'; import { CSS } from '../utils/objectToCss'; import UploadDragAndDrop from './upload-drag-and-drop'; interface Props { children?: React.ReactNode; isDisabled?: boolean; getFile?: (selectedFiles: File[]) => void; accept?: string; fileSizeLimit?: number; multiple?: boolean; placeholder?: string; helperText?: React.ReactNode; isRequired?: boolean; label?: string; onError?: (error: string) => void; customErrorMessages?: React.ReactNode; css?: CSS; } export type UploadProps = Props & Omit, keyof Props>; declare const _default: React.ForwardRefExoticComponent, keyof Props> & React.RefAttributes> & { DragAndDrop: typeof UploadDragAndDrop; }; export default _default;