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 LabelProps 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; /** * Font style to apply to the text. */ fontStyle?: 'normal' | 'italic'; /** * Font weight. Only `'medium'` (500) is available in addition to the default `'regular'` (400). * Medium weight is supported for the neutral typeface only. */ fontWeight?: 'regular' | 'medium'; } declare const Label: ({ children, intent, allowFontScaling, fontStyle, fontWeight, style, testID, ...nativeProps }: LabelProps) => React.JSX.Element; export default Label;