import { type AriaDisabledProps, type DOMProps, type StylingProps, type MaskingProps, type WithChildren, type DataTestId } from '@dynatrace/strato-components/core'; /** * Available options for the label size * @public */ export interface LabelProps extends WithChildren, DOMProps, StylingProps, DataTestId, MaskingProps, AriaDisabledProps { /** Defines the id of a labelable form related field. */ htmlFor?: string; /** * If there is a wrapping form field then this label uses the required value * from the form field, otherwise it uses this required value. The label * has a visual style to indicate the associated field is a mandatory field. * @defaultValue false */ required?: boolean; /** * If there is a wrapping form field then this label uses the disabled value * from the form field, otherwise it uses this disabled value. The label * has a visual style to indicate the associated field is disabled. * @defaultValue false */ disabled?: boolean; } /** * The `Label` component allows users to add an associated text to another * form control by using the `FormField` component. * @public */ export declare const Label: (props: LabelProps & import("react").RefAttributes) => React.ReactElement | null;