import React from 'react';
import Form from './Form';
interface FormProps<T extends Form.FieldValues> extends Form.UseFormProps<T> {
    id?: string;
    onSubmit: Form.SubmitHandler<T>;
    children: (methods: ReturnType<typeof Form.useForm<T>> & {
        Form: typeof Form;
    }) => React.ReactNode;
}
declare const ForwardedForms: <T extends Form.FieldValues>(props: FormProps<T> & {
    ref?: React.Ref<any>;
}) => JSX.Element;
export default ForwardedForms;
