import * as React from 'react'; import { ImageProps, Image as Image$1, PressableProps, Pressable as Pressable$1, View as View$1, TextProps, Text as Text$1, ViewProps, PressableStateCallbackType } from 'react-native'; declare function Slot(props: React.ComponentPropsWithRef): React.JSX.Element | null; declare namespace Slot { var displayName: string; } /** * @deprecated: Use Slot instead */ declare const Pressable: { ({ ref: forwardedRef, ...props }: PressableProps & { ref?: React.Ref>; }): React.CElement, "ref">, React.Component, "ref">, any, any>> | null; displayName: string; }; /** * @deprecated: Use Slot instead */ declare const View: { ({ ref: forwardedRef, ...props }: ViewProps & { ref?: React.Ref>; }): React.CElement | null; displayName: string; }; /** * @deprecated: Use Slot instead */ declare const Text: { ({ ref: forwardedRef, ...props }: TextProps & { ref?: React.Ref>; }): React.CElement | null; displayName: string; }; type ImageSlotProps = ImageProps & { children?: React.ReactNode; }; /** * @deprecated: Use Slot instead */ declare const Image: { ({ ref: forwardedRef, ...props }: ImageSlotProps & { ref?: React.Ref>; }): React.CElement | null; displayName: string; }; declare function isTextChildren(children: React.ReactNode | ((state: PressableStateCallbackType) => React.ReactNode)): boolean; export { Image, Pressable, Slot, Text, View, isTextChildren };