import { FC, ReactNode } from 'react'; import { BoxProps } from '../Box/Box'; export interface FormLabelProps extends BoxProps { /** * Content to be rendered inside the label. */ children: ReactNode; /** * The id of the form control that the label is labeling */ inputId: string; /** * Custom class to pass to label element. */ className?: string; /** * Additional clarifying text to that helps describe the field */ helpText?: ReactNode; /** * Mark the label has disabled */ isDisabled?: boolean; /** * prop deprecated: no longer in use and will be remove in next major release. */ isFieldRequired?: boolean; /** * Apply custom styling to labels for a radio input */ isRadioInputLabel?: boolean; /** * Visual indicator that the field is required, that gets appended to the label */ requiredIndicator?: ReactNode; /** * Additional props to be spread to rendered element */ [x: string]: any; } export declare const FormLabel: FC;