import type { ReactNode } from 'react'; import React from 'react'; export type LabelProps = { /** * CSS class names that can be appended to the component. */ className?: string; /** * Indicates disabled state of the input. */ disabled?: boolean; /** * HTML `for` attribute, which maps the label to an associated input `id` */ htmlFor?: string; /** * HTML id for the component */ id?: string; /** * Slot for node to appear directly after field label. Typically used to include a Toolip */ labelAfter?: ReactNode; /** * Indicates that field is required for form to be successfully submitted. */ required?: boolean; /** * The label text string */ text: ReactNode; }; /** * `import {Label} from "@chanzuckerberg/eds";` * * Label component used as legends for field groups (e.g., radio/checkbox fields). */ export declare const Label: { ({ className, disabled, htmlFor, id, labelAfter, required, text, ...other }: LabelProps): React.JSX.Element; displayName: string; };