import { type FC, type ReactNode } from "react"; import type { FieldState } from "./FieldContext"; export interface FieldProps { /** * The class name of the `Field`. */ className?: string; /** * Define a label to display above the nested input. */ label?: ReactNode; /** * Define the `id` of the label. */ labelId?: string; /** * Define the `id` of the input used by the label. */ labelFor?: string; /** * Define an helpful description to show below the `Field`. */ description?: ReactNode; /** * Define the state of the `Field`. */ state?: FieldState; /** * Define if the `Field` should be displayed inline. * @default false */ inline?: boolean; /** * Define if the `Field` is required. */ required?: boolean; /** * Define the visibility of the required indicator. * @default false */ hideRequiredIndicator?: boolean; /** * The children of the `Field`. */ children: ReactNode; } /** * The `Field` component is a helper that wraps inputs to streamline labeling, validation, integration into a form. * * See the [Field documentation page](https://satellite.algolia.com/8261d6576/p/237982-field) for more information. */ export declare const Field: FC;