import * as React from "react"; import { type FieldValues } from "react-hook-form"; import type { FormRootProp } from "../props/components/form.prop.js"; export type { FormRootProp } from "../props/components/form.prop.js"; /** * FormRoot — the form shell. Provide EITHER `form` (built-in react-hook-form + Zod, client-side * validation) OR `adapter` (a framework-agnostic {@link FormStateAdapter} for a server-driven form * library — Inertia's `useForm` via `@godxjp/ui/inertia`, formik, TanStack Form). */ export declare function FormRoot({ form, adapter, onSubmit, onSubmitFailed, onSubmitError, submitFailedMessage, onReset, scrollToFirstError, disabled, layout, labelWidth, controlWidth, labelAlign, collapseBelow, density, columns, requiredMark, errors, children, className, id, }: FormRootProp): React.JSX.Element;