import type { Responsive } from '@ankhorage/surface'; import type React from 'react'; import type { AccessibilityRole, StyleProp, TextStyle } from 'react-native'; import type { ZoraBaseProps } from './base'; import type { ZoraColor, ZoraEmphasis } from './theme'; export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6; export type HeadingSize = 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; export type HeadingColor = ZoraColor; export type HeadingEmphasis = ZoraEmphasis; export type HeadingAlign = NonNullable; export type HeadingWeight = 'regular' | 'medium' | 'semiBold' | 'bold'; export interface HeadingProps extends ZoraBaseProps { children?: React.ReactNode; text?: string; i18nKey?: string; level?: HeadingLevel; size?: Responsive; color?: Responsive; emphasis?: Responsive; align?: Responsive; weight?: Responsive; italic?: boolean; numberOfLines?: number; ellipsizeMode?: 'head' | 'middle' | 'tail' | 'clip'; selectable?: boolean; style?: StyleProp; accessibilityLabel?: string; accessibilityHint?: string; accessibilityRole?: AccessibilityRole; nativeID?: string; }