import React, { ComponentType } from 'react'; import { TextStyle, StyleProp } from 'react-native'; export declare type weight = '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | 'bold' | 'normal'; export declare type ellipsizeMode = 'tail' | 'head' | 'clip' | 'middle'; export declare type size = 'h1' | 'h2' | 'h3' | 'h4' | 'h5'; export declare type Props = { readonly children: React.ReactNode; readonly color?: string; readonly ellipsizeMode?: ellipsizeMode; readonly numberOfLines?: number; readonly onPress?: () => void; readonly size?: size; readonly style?: StyleProp; readonly testID?: string; readonly weight?: weight; }; declare const Text: ComponentType; export default Text;