import React from 'react'; import { Text, View, TextStyle } from 'react-native'; import { NextProps, Web } from './types'; /** * Link component for react-navigation and nextjs. * * @param props * - routeName: string * - params?: object * - web?: `{ path?: string; as?: string, replace?: boolean, scroll?: boolean, prefetch?: boolean }` * * ## Usage * * ```diff * -import { TouchableOpacity } from 'react-native' * -... * - navigate({ routeName: 'home' })}> * - Press me! * - * * +import { Link } from 'expo-next-react-navigation' * + ... * + * + Press me! * + *``` * */ declare const Link: React.ForwardRefExoticComponent<{ children: React.ReactNode; touchableOpacityProps?: import("react-native").TouchableOpacityProps | undefined; style?: TextStyle | undefined; routeName: string; params?: {} | undefined; web?: Web | undefined; isText?: boolean | undefined; native?: { screen?: string | undefined; } | undefined; } & NextProps & React.RefAttributes>; export default Link;