import type { ReactNode } from 'react'; import React from 'react'; import type { TextProps as NativeTextProps, StyleProp, TextStyle } from 'react-native'; import type { TypographyIntent } from '../types'; export interface TitleProps extends NativeTextProps { /** * Text content. */ children: ReactNode; /** * Visual intent color to apply to the text. */ intent?: TypographyIntent; /** * Additional style. */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; /** * The typeface to render the text in: * - `neutral`: The default typeface for the platform. * - `playful`: To visualise a playful content. */ typeface?: 'neutral' | 'playful'; /** * The level of Title including h1, h2, h3, h4, h5 and h6. */ level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; /** * Font style to apply to the text. */ fontStyle?: 'normal' | 'italic'; } declare const Title: ({ children, intent, allowFontScaling, level, typeface, fontStyle, style, testID, ...nativeProps }: TitleProps) => React.JSX.Element; export default Title;