1import { ClassAttributes, ComponentProps, ComponentType } from 'react';
2import { AccessibilityRole, StyleProp, Text as NativeText, TextStyle as NativeTextStyle } from 'react-native';
3declare type NativeTextProps = ComponentProps<typeof NativeText> & ClassAttributes<typeof NativeText>;
4export interface WebTextStyle {
5    /** string is only available on web */
6    fontSize?: NativeTextStyle['fontSize'] | string;
7    /** string is only available on web */
8    lineHeight?: NativeTextStyle['lineHeight'] | string;
9    /** @platform web */
10    fontFeatureSettings?: string;
11    /** @platform web */
12    textIndent?: string;
13    /** @platform web */
14    textOverflow?: string;
15    /** @platform web */
16    textRendering?: string;
17    /** @platform web */
18    textTransform?: string;
19    /** @platform web */
20    unicodeBidi?: string;
21    /** @platform web */
22    wordWrap?: string;
23}
24export declare type TextStyle = Omit<NativeTextStyle, 'fontSize' | 'lineHeight'> & WebTextStyle;
25export declare type WebTextProps = {
26    style?: StyleProp<TextStyle>;
27    /** @platform web */
28    tabIndex?: number;
29    accessibilityRole?: 'listitem' | AccessibilityRole;
30};
31export declare type TextProps = Omit<NativeTextProps, 'style' | 'accessibilityRole'> & WebTextProps;
32declare const Text: ComponentType<TextProps>;
33export default Text;
34