import { type ElementType } from 'react'; import type { ChildrenProps, EmphasisDictionaryType, EmphasisProps, SizeExtendedDictionaryType, SizeProps, StyleProps, TextAccentColorsType, TextAlignmentType, TextColorNamesType, TextColorProps, TextEmotionColorsType, TextHyphensType, TextWordBreakType, TransferProps } from './shared'; export type TextColorsType = TextColorNamesType | TextAccentColorsType | TextEmotionColorsType; export interface TextElementTypeProps { elementType?: T; } export interface TextProps extends TextElementTypeProps, ChildrenProps, StyleProps, TransferProps { isTextBalanced?: boolean; textAlignment?: TextAlignmentType; textHyphens?: TextHyphensType; textWordBreak?: TextWordBreakType; } export interface SpiritTextProps extends TextProps, SizeProps>, EmphasisProps>, TextColorProps> { }