import React from "react";
import { FormikConfig, FormikProps, FormikValues } from "formik";
export interface FormProps<T extends FormikValues = FormikValues> {
    /** Formik configuration: initialValues, validationSchema, onSubmit, etc. */
    formikProps: FormikConfig<T>;
    /** Props forwarded to the HTML form element. */
    formProps?: React.ComponentProps<"form">;
    /** Auto-scroll to the first error field on submit. */
    scrollToErrorField?: boolean;
    /** Additional class name for the form wrapper. */
    className?: string;
    /** Render children directly or as a function receiving FormikProps. */
    children: React.ReactNode | ((props: FormikProps<T>) => React.ReactNode);
}
declare const Form: React.ForwardRefExoticComponent<FormProps<FormikValues> & React.RefAttributes<HTMLFormElement>>;
export { Form };
