import { Color } from '../../tokens/colors/Colors'; import { FontSize } from '../../tokens/font-sizes/FontSizes'; import { FontWeight } from '../../tokens/font-weights/FontWeights'; import { LineHeight } from '../../tokens/line-heights/LineHeights'; import { HTMLAttributes, ReactNode } from 'react'; export interface TextProps extends Omit, 'color'> { /** If provided, changes the element rendered */ as?: 'b' | 'div' | 'em' | 'i' | 'p' | 'small' | 'span' | 'strong'; /** The text to show */ children: ReactNode; /** If provided, changes the text color */ feColor?: Color; /** If provided, changes the font-size */ feFontSize?: FontSize; /** If provided, changes the font-weight */ feFontWeight?: FontWeight; /** If provided, changes the line-height */ feLineHeight?: LineHeight; } /** * The `` component is a general purpose component for text rendering. * * See [InVision DSM](https://skf.invisionapp.com/dsm/ab-skf/4-web-applications/nav/5fa7caf78c01200018354495/folder/619626e9fa9fb73437915c2d) for design principles. */ declare const Text: import("react").ForwardRefExoticComponent>; export default Text;