import React from 'react'; import { StyleProp, TextProps, TextStyle } from 'react-native'; import { StateColor, TextColor } from '../color/SemanticColor'; import { typoBodyTokens, typoDisplayTokens, typoHeadlineTokens, typoMiscTokens } from './constants'; type CustomTypoStyle = StyleProp>; type CustomTypoProps = Omit; type DisplayTypo = (typeof typoDisplayTokens)[number]; type HeadlineTypo = (typeof typoHeadlineTokens)[number]; type BodyTypo = (typeof typoBodyTokens)[number]; type MiscTypo = (typeof typoMiscTokens)[number]; type TypoType = DisplayTypo | HeadlineTypo | BodyTypo | MiscTypo; export declare const Typo: React.FC<{ children: TextProps['children']; type: TypoType; color?: TextColor | StateColor; style?: CustomTypoStyle; } & CustomTypoProps>; export {};