import { BoxProps } from '../Box'; export interface LabelProps extends Pick { /** * The id of the input this label is meant to identify. */ for: string; /** * Boolean used to determine whether or not the element is hidden visually. It will always be rendered for * accessibility reasons. */ isVisuallyHidden?: boolean; /** * Booolean used to determine if text is completely opaque or not. */ isDisabled?: boolean; /** * Boolean used to conditionally render asterisk. If the field being labelled is required, suffix label with an * asterisk. */ isFieldRequired?: boolean; /** * The size of the label in pixels. Default is 12px. */ size?: 12 | 14; } /** * @deprecated This component is no longer supported and will soon be removed. It will be replaced with a `LabelPrimitive` component. */ export declare const Label: ({ children, className, for: htmlFor, isVisuallyHidden, isFieldRequired, size, tx, }: LabelProps) => JSX.Element;