import { FC } from 'react'; import { TextProps as TextProps$1, TextStyle } from 'react-native'; import { TextSize } from './types.js'; interface TextProps extends TextProps$1 { /** * Visual size of the text, typically mapped to the design system’s type scale. */ size?: TextSize; /** * Optional custom fontSize override (in pixels) */ fontSize?: TextStyle['fontSize']; /** * Optional font weight override ('normal', 'bold', '500', etc.) */ fontWeight?: TextStyle['fontWeight']; /** * Text color — may be raw value or token name (e.g., '#333' or 'text.primary'). */ color?: string; /** * If true, renders the text as a child component using `Slot`. * Useful for compatibility with native elements or other components. */ asChild?: boolean; /** * Multiplier applied to the font size to calculate line height. * Useful for consistent vertical rhythm across different text sizes. * For example, `1.5` means lineHeight = fontSize × 1.5. */ lineHeightMultiplier?: number; } /** Text is a UI component used to display readable content, such as labels, descriptions, or body text, with customizable styling */ declare const Text: FC; export { Text, type TextProps };