import React from "react";
import { FileSource } from "./types";
import "./FileInput.css";
export interface Props extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value"> {
    label?: string;
    errorMessage?: string;
    maxFileSize?: number;
    value?: FileSource;
    onValueChange?: (value: FileSource) => void;
    renderPreview?(value?: FileSource): React.ReactNode;
}
declare const _default: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLInputElement>>;
export default _default;
