import React from 'react'; import type { Polymorphic } from '../core/polymorphism'; import { type PressableBaseProps } from '../system/Pressable'; export declare const linkDefaultElement = 'a'; export type LinkDefaultElement = typeof linkDefaultElement; export type LinkBaseProps = Polymorphic.ExtendableProps< PressableBaseProps, { /** * Determines whether the link opens in a new window. * - `true`: Opens the link in a new window. * - `false`: Replaces the current screen with the link. * * This prop is only applicable when rendering the `Link` as an anchor (`as="a"`). * @default false */ openInNewWindow?: boolean; /** 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) */ underline?: boolean; } >; export type LinkProps = Polymorphic.Props< AsComponent, LinkBaseProps >; type LinkComponent = (( props: LinkProps, ) => Polymorphic.ReactReturn) & Polymorphic.ReactNamed; export declare const Link: LinkComponent; export {}; //# sourceMappingURL=Link.d.ts.map