import { type InlinePromptProps } from '../prompt'; export type FieldProps = { /** `null` disables auto-generating the `id` attribute, falling back to nesting-based label association over setting `htmlFor` explicitly. */ id?: string | null; /** Should be specified unless the wrapped control has its own labeling mechanism, e.g. `Checkbox`. */ label?: React.ReactNode; /** @default true */ required?: boolean; /** @deprecated Use `description` prop instead. */ hint?: React.ReactNode; message?: React.ReactNode; /** * Override for the [InlinePrompt icon's default, accessible name](/?path=/docs/other-statusicon-accessibility--docs) * announced by the screen readers * */ messageIconLabel?: string; /** * If true, shows a loading spinner in place of the message icon of the InlinePrompt * @default false */ messageLoading?: boolean; description?: React.ReactNode; /** @deprecated Use `message` and `type={Sentiment.NEGATIVE}` prop instead. */ error?: React.ReactNode; /** @default Sentiment.NEUTRAL */ sentiment?: InlinePromptProps['sentiment']; className?: string; children?: React.ReactNode; }; export declare const Field: ({ id, label, required, message: propMessage, messageIconLabel, messageLoading, hint, description, sentiment: propType, className, children, ...props }: FieldProps) => import("react").JSX.Element; //# sourceMappingURL=Field.d.ts.map