import { FC, LabelHTMLAttributes } from 'react'; import { TextProps } from '../Text'; import { LabelSize } from './types'; export interface LabelProps extends Omit | 'size'>, LabelHTMLAttributes { /** * Visual size of the label text. * Typically maps to type scale values in a design system. */ size?: LabelSize; /** * Associates the label with an input by its `id`. * Enables native focus and screen reader linking. */ htmlFor?: string; } /** A Label is a UI component that provides descriptive text to identify or explain the purpose of another element, such as a form input field, button, or checkbox, improving accessibility and user understanding */ export declare const Label: FC;