import React from 'react'; import type { PressableProps, TextStyle, ViewStyle, StyleProp } from 'react-native'; import type { ValidPaths } from './types'; interface LinkProps { to: ValidPaths; replace?: boolean; style?: StyleProp; textStyle?: StyleProp; children: React.ReactNode; onPress?: PressableProps['onPress']; } /** * Pressable component that navigates to a typed path on press. * Supports `replace` prop for replacing the current screen instead of pushing. * * @param props.to - The path to navigate to. * @param props.replace - If true, replaces the current screen instead of pushing. */ export declare function Link({ to, replace: shouldReplace, style, textStyle, children, onPress, }: LinkProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=Link.d.ts.map