import React from 'react';
import { FieldValues, UseFormProps, UseFormReturn } from 'react-hook-form';
export interface FormProps extends UseFormProps, Omit<React.HTMLAttributes<HTMLFormElement>, 'onSubmit'> {
    onSubmit: (data: FieldValues, form: UseFormReturn) => void;
}
export declare const Form: React.FC<FormProps>;
