import { NavigationAction, ParamListBase } from '@react-navigation/native'; import { To } from '@react-navigation/native/lib/typescript/src/useLinkTo'; import React from 'react'; import { GestureResponderEvent, TextProps } from 'react-native'; export type LinkProps = { [key: string]: any; to: To; action?: NavigationAction; target?: string; onPress?: (e: React.MouseEvent | GestureResponderEvent) => void; } & (TextProps & { children: React.ReactNode; }); export declare const LinkDefaultProps: Partial; /** * 🔗 Link */ export declare const Link: React.ComponentType;