import type { HTMLAttributes, LabelHTMLAttributes, PropsWithChildren } from 'react'; import { FontVariant, FontWeight, TextAlign, TextDecoration, TypeVariant } from '@brix-ui/types/typography'; import type { IntrinsicComponent, StylableComponent } from '@brix-ui/types/component'; import type { Values } from '@brix-ui/utils/types'; import type { TextElement, TextTag } from '@brix-ui/types/html'; export interface TextProps extends PropsWithChildren & LabelHTMLAttributes>>, StylableComponent { as?: TextTag; variant?: Values; appearance?: Values; color?: string; align?: Values; decoration?: Values; weight?: | Values | 'thin' | 'extra-light' | 'light' | 'regular' | 'medium' | 'semi-bold' | 'bold' | 'extra-bold' | 'black' | 'normal' | 'lighter' | 'bolder'; lineHeightCompensation?: boolean | ((variant: NonNullable) => number); }