import { TextVariantProps } from '@seed-design/css/recipes/text'; import { FontSize, FontWeight, LineHeight, ScopedColorFg, ScopedColorPalette } from '@seed-design/css/vars'; import type * as React from "react"; import type * as CSS from "csstype"; export interface TextProps extends Omit, React.HTMLAttributes { /** * The element to render as * @default "span" */ as?: "dt" | "dd" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "strong" | "legend"; /** * The color of the text. */ color?: ScopedColorFg | ScopedColorPalette | (string & {}); /** * The font size of the text. Partially overrides the textStyle. */ fontSize?: FontSize | (string & {}); /** * The line height of the text. Partially overrides the textStyle. */ lineHeight?: LineHeight | (string & {}); /** * The font weight of the text. Partially overrides the textStyle. */ fontWeight?: FontWeight; /** * The maximum number of lines to display. If the text overflows, it will be truncated. */ maxLines?: number; /** * The alignment of the text. */ align?: Extract; /** * The user-select behavior of the text. */ userSelect?: Extract; /** * The white-space behavior of the text. */ whiteSpace?: Extract; } export declare const Text: React.ForwardRefExoticComponent>; //# sourceMappingURL=Text.d.ts.map