import React from "react";
import { EColor } from "../../enum/";
import "./index.scss";
export interface IFile {
    name?: string;
    size?: number;
    type?: string;
    multiple?: boolean;
    limit?: number;
    label?: string;
    src?: string | ArrayBuffer;
    _required?: string;
}
export interface IProps extends IFile {
    types?: Array<string>;
    className?: string;
    preview?: boolean;
    color?: EColor;
    getFiles?(param: Array<IFile>): void;
}
declare const Upload: React.ForwardRefExoticComponent<IProps & React.RefAttributes<HTMLInputElement>>;
export default Upload;
