import * as React from "react"; import type { BreakpointProp, FormLayoutProp, WidthProp } from "../../props/vocabulary/index.js"; export type { FormProp, FormProp as FormProps } from "../../props/components/data-entry.prop.js"; /** Resolved layout settings shared from a Form down to its FormFields (override per field). */ export interface FormLayoutContextValue { layout: FormLayoutProp; disabled?: boolean; requiredMark?: boolean | "optional"; labelWidth?: WidthProp; controlWidth?: WidthProp; labelAlign: "start" | "end"; collapseBelow: BreakpointProp | false; } /** Read the nearest Form's layout context (null when a FormField is used standalone). */ export declare function useFormLayout(): FormLayoutContextValue | null; /** * Form — Ant-style layout container. Renders a `
` and provides layout (vertical/horizontal), * label/control width, label alignment, and a responsive collapse breakpoint to every FormField * inside it. */ export declare const Form: React.ForwardRefExoticComponent & { disabled?: boolean; requiredMark?: boolean | "optional"; layout?: FormLayoutProp; labelWidth?: WidthProp; controlWidth?: WidthProp; labelAlign?: "start" | "end"; collapseBelow?: BreakpointProp | false; columns?: import("../../props/components/layout.prop.js").ResponsiveGridColumnsProp; density?: import("../../props/index.js").DensityProp; errors?: import("../../props/index.js").ErrorBagProp; asChild?: boolean; className?: import("../../props/index.js").ClassNameProp; } & React.RefAttributes>;