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