/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @generated SignedSource<<4e3ed68232e3d54faf77704ab4edcaa1>> * * This file was translated from Flow by scripts/js-api/build-types/index.js. * Original file: packages/react-native/Libraries/Text/TextNativeComponent.js */ import type { HostComponent } from "../../src/private/types/HostComponent"; import type { ProcessedColorValue } from "../StyleSheet/processColor"; import type { GestureResponderEvent } from "../Types/CoreEventTypes"; import type { TextProps } from "./TextProps"; export type NativeTextProps = Readonly unknown) | undefined; isPressable?: boolean | undefined; }> & { isHighlighted?: boolean | undefined; selectionColor?: ProcessedColorValue | undefined; onClick?: ((event: GestureResponderEvent) => unknown) | undefined; isPressable?: boolean | undefined; }>; /** * `NativeText` is an internal React Native host component, and is exported to * provide lower-level access for libraries. * * @warning `` provides no semver guarantees and is not * intended to be used in app code. Please use * [``](https://reactnative.dev/docs/text) instead. */ export declare const NativeText: HostComponent; export declare type NativeText = typeof NativeText; export declare const NativeVirtualText: HostComponent; export declare type NativeVirtualText = typeof NativeVirtualText; export declare const NativeSelectableText: HostComponent; export declare type NativeSelectableText = typeof NativeSelectableText;