import React from 'react'; import type { GestureResponderEvent } from 'react-native'; import type { SharedProps } from '@coinbase/cds-common/types/SharedProps'; import { type TextBaseProps, type TextProps } from './Text'; export type LinkBaseProps = SharedProps & TextBaseProps & { /** URL that this link goes to when pressed. */ to?: string; /** Use monospace font family. */ mono?: boolean; /** * Set text decoration to underline. * @link [MDN Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration) | [React Native Docs](https://reactnative.dev/docs/text-style-props#textdecorationline) * @default false (unless nested inside a paragraph tag) */ underline?: boolean; /** Callback to fire when pressed */ onPress?: (event: GestureResponderEvent) => void; /** * Toggles whether the link should be opened outside or within app * @default false * */ forceOpenOutsideApp?: boolean; /** * Toggles whether we allow users to go back to app * when they are in an external browser * @default false */ preventRedirectionIntoApp?: boolean; /** * Toggles readerMode flag for web browser. * Note: readerMode is only available on ios * @default false */ readerMode?: boolean; }; export type LinkProps = LinkBaseProps & TextProps; export declare const Link: React.MemoExoticComponent< (_props: LinkProps) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=Link.d.ts.map