import React, { HTMLElementType } from 'react'; import { typography, colors } from '@moda/tokens'; import './Text.scss'; export type TextTreatment = keyof (typeof typography)['text-treatments']; export type TextColor = keyof typeof colors.all; export type TextFontFamily = keyof typeof typography.fonts; export type TextProps = React.HTMLAttributes & { as?: HTMLElementType; treatment?: TextTreatment; color?: TextColor; family?: TextFontFamily; }; export declare const Text: React.FC;