import React from 'react'; import { Text as RNText, TextStyle, StyleProp } from 'react-native'; import { SpacingProps } from '../../../theme'; import { TestableProps } from '../../common/test'; import { BackgroundProps } from '../../common/background'; import { BoxProps } from '../../common/box'; export interface TextProps extends SpacingProps, TestableProps, BackgroundProps, BoxProps { children?: React.ReactNode; style?: StyleProp; variant?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body1' | 'body2' | 'caption' | 'overline' | 'button' | 'link'; size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number; weight?: 'light' | 'normal' | 'medium' | 'semibold' | 'bold'; color?: 'primary' | 'secondary' | 'text' | 'textSecondary' | 'textDisabled' | 'error' | 'warning' | 'success' | 'info' | string; align?: 'left' | 'center' | 'right' | 'justify'; lineHeight?: 'tight' | 'normal' | 'relaxed' | number; decoration?: 'none' | 'underline' | 'line-through'; transform?: 'none' | 'uppercase' | 'lowercase' | 'capitalize'; selectable?: boolean; numberOfLines?: number; ellipsizeMode?: 'head' | 'middle' | 'tail' | 'clip'; allowFontScaling?: boolean; minimumFontScale?: number; adjustsFontSizeToFit?: boolean; onPress?: () => void; onLongPress?: () => void; suppressHighlighting?: boolean; testID?: string; } declare const Text: React.ForwardRefExoticComponent>; export default Text; //# sourceMappingURL=Text.d.ts.map