import { FieldValues, FieldPath } from 'react-hook-form';
import { default as IFormFieldProps } from './IFormFieldProps';
/**
 * FormField component that wraps a form control with proper accessibility and validation
 * @param props {@link IFormFieldProps} - Props for the FormField component
 * @template TFieldValues - The form values type
 * @template TName - The form field name type
 * @returns The rendered FormField component
 * @deprecated This component is deprecated and will be removed in a future release. Please use the new Field component instead.
 *
 * @example
 * ```tsx
 * <FormField name="email" control={control}>
 *   <Input label="Email" type="email" placeholder="Enter your email" />
 * </FormField>
 * ```
 */
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ name, control, ...props }: IFormFieldProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element | undefined;
export default FormField;
