import React from "react"; import { FormikConfig, FormikProps, FormikValues } from "formik"; export interface FormProps { /** Formik configuration: initialValues, validationSchema, onSubmit, etc. */ formikProps: FormikConfig; /** 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) => React.ReactNode); } declare const Form: React.ForwardRefExoticComponent & React.RefAttributes>; export { Form };