import { Control, FieldValues, Path } from 'react-hook-form';

interface DropFieldProps<T extends FieldValues> {
    name: Path<T>;
    control: Control<T>;
    label?: string;
    isImage?: boolean;
    errorMessage?: string;
    onChange?: (file: File | null) => void;
    accept?: Record<string, string[]>;
}
export declare const DropzoneField: <T extends FieldValues>({ name, label, control, isImage, onChange: propsOnChange, ...rest }: DropFieldProps<T>) => import("react/jsx-runtime").JSX.Element;
export {};
