import { FileUploadProps } from '../../../components';
import { FieldPath, FieldValues } from 'react-hook-form';
import { FileUploadApi } from './types';
import { FormFieldProps } from '../../../types';
export type FormFileUploadProps<TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>> = FormFieldProps<TFieldValues, TName> & Omit<FileUploadProps, 'onFileUpload' | 'onFileDelete' | 'files' | 'isLoading'> & {
    api?: FileUploadApi;
};
export declare const FormFileUpload: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ id: suppliedId, name, rules, errorMode, shouldUnregister, api, maxFileSize, maxFiles, acceptedFormats, maxTotalMBSize, acceptedFormatsText, legendText, ...muiProps }: FormFileUploadProps<TFieldValues, TName>) => import("@emotion/react/jsx-runtime").JSX.Element;
