import type { FormApi } from '../form.types.js'; /** * Creates a stable `FormApi` for the lifetime of the component. The returned * handle is the same object on every render — equivalent to calling * `_createForm` once in a `useRef`. * * Pass it to the `form` prop of `