/** Form — groups fields with a submit action (W2 §The Kit). */ import { Form as Base } from "@base-ui/react/form"; import type { ComponentProps, FormEvent, ReactNode } from "react"; import { type KitEngine, type KitRendered, type KitStyled } from "../tokens.js"; interface FormOwnProps extends KitStyled { /** Bound host-tool submit action (renderer-supplied). */ onSubmit?: (event: FormEvent) => void; submitLabel?: string; disabled?: boolean; /** Kit elements above the fields. */ header?: ReactNode; /** Kit elements beside the submit — a cancel, a secondary action. */ actions?: ReactNode; /** The fine print under the actions. */ footer?: ReactNode; } /** Plus any Base UI `
` prop, handed straight to the root — here the root * IS the Base element, so the Kit's `style` dresses that same one. */ export type FormProps = FormOwnProps & KitEngine, FormOwnProps>; export declare function Form({ onSubmit, submitLabel, disabled, header, actions, footer, style, children, pending, ...engine }: FormProps & KitRendered): import("react").JSX.Element; export {};