import React from 'react'; import type { ReactNode } from 'react'; import type { TextProps as NativeTextProps, StyleProp, TextStyle } from 'react-native'; import type { TypographyIntent } from '../types'; export interface CaptionProps extends NativeTextProps { /** * Text content. */ children: ReactNode; /** * Font weight of the text. */ fontWeight?: 'regular' | 'medium' | 'semi-bold'; /** * Visual intent color to apply to the text. */ intent?: TypographyIntent; /** * Additional style. */ style?: StyleProp; /** * Testing id of the component. */ testID?: string; /** * Font style to apply to the text. */ fontStyle?: 'normal' | 'italic'; } declare const Caption: ({ children, fontWeight, intent, allowFontScaling, fontStyle, style, testID, ...nativeProps }: CaptionProps) => React.JSX.Element; export default Caption;