import React from 'react';
import { FieldWrapperProps } from '@parlor/components/select-v4';
export type FileUploadProps = {
    /**
     * File upload type
     */
    acceptedTypes?: string[];
    /**
     * File upload field always empty
     */
    alwaysEmpty?: boolean;
    /**
     * Can upload file
     */
    canUpload?: boolean;
    /**
     * File upload class name
     */
    className?: FieldWrapperProps['className'];
    /**
     * File upload downloadable
     */
    download?: boolean;
    /**
     * File name
     */
    fileName?: string;
    /**
     * File url
     */
    fileUrl?: string;
    /**
     * File upload field focused
     */
    isFocused?: FieldWrapperProps['isFocused'];
    /**
     * File upload is multiple
     */
    isMultiple?: boolean;
    /**
     * File upload is multiple
     */
    isUploading?: boolean;
    /**
     * File upload field label
     */
    label?: string;
    /**
     * File mime type
     */
    mimeType?: string;
    /**
     * File upload onUpload function
     */
    onClear?(): void;
    /**
     * File upload onClose function
     */
    onClose?(): void;
    /**
     * File upload onOpen function
     */
    onOpen?(): void;
    /**
     * File upload onUpload function
     */
    onUpload?(files?: FileList): void;
    /**
     * File upload placeholder text
     */
    placeholder?: string;
    /**
     * File upload prefix
     */
    prefix?: JSX.Element;
    /**
     * File upload field size
     */
    size?: FieldWrapperProps['size'];
    /**
     * File upload variation
     */
    variation?: FieldWrapperProps['variation'];
};
export declare const FileUpload: React.ForwardRefExoticComponent<FileUploadProps & React.RefAttributes<HTMLInputElement>>;
