import { StyleProp, View, ViewProps, ViewStyle } from 'react-native'; import { UseLinkProps } from '../../hooks/useLink/useLink.native'; import { BaseMatchPathProps } from '../../hooks/useMatchPath'; export type LinkProps = BaseMatchPathProps & UseLinkProps & ViewProps & { matchLink?: (url: URL, linkURL: URL) => boolean; matchStyle?: StyleProp; }; /** * A component that navigates to a specified URL using the `to` prop. * * Note: Utilizes the `useLink` hook for navigation and `useMatchRoute` to match the current route. */ declare const Link: import('react').ForwardRefExoticComponent["target"]; to: import('../..').NavigateTo; } & ViewProps & { matchLink?: (url: URL, linkURL: URL) => boolean; matchStyle?: StyleProp; } & import('react').RefAttributes>; export default Link;