import React from "react";
import { FileSource } from "./types";
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: (props: Props & React.RefAttributes<HTMLInputElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
export default _default;
