import type { TextAlign, TextColor, TextDecoration, TextElement, TextFontFeature, TextVariant, LineTruncation, TextWrap } from './text-types'; export declare class Text { variant: TextVariant; /** * Heavier weight + tighter letter-spacing for the variant. * `false` (default): one step below emphasis (display semibold, title/body * medium, caption medium). * `true`: display bold, title/caption semibold, body medium. */ emphasis: boolean; /** * Semantic foreground color token or CSS variable. `tertiary` and the * still-fainter `quaternary` are restricted to genuinely inactive/disabled * UI content or purely decorative content; prefer the owning control's * inactive state whenever one exists. */ color: TextColor; /** Link underline or dotted hidden-interaction affordance; does not add semantics. */ decoration: TextDecoration | undefined; italic: boolean; /** Animate the visible glyphs with the shared loading shimmer treatment. */ shimmer: boolean; align: TextAlign | undefined; lineTruncation: LineTruncation; wrap: TextWrap | undefined; fontFeature: TextFontFeature; as: TextElement; /** Maps to `for` attribute on