import React from 'react';
import { FieldPath, FieldValues } from 'react-hook-form';
import { UseValidatedFormReturn } from './ValidatedForm';
export default function FieldError<TFieldValues extends FieldValues>(props: {
    name: FieldPath<TFieldValues>;
    form: UseValidatedFormReturn<TFieldValues, unknown, unknown>;
}): React.JSX.Element | null;
