import "./text_link.css"; import { type TextProps } from "./text"; import { type IconName } from "./icon"; import { type StyleProps } from "./style_props"; export interface TextLinkProps extends Omit, StyleProps { icon?: IconName; /** A real anchor, so middle-click works; for in-app routing wrap it in your own pressable. */ href?: string; } /** Text that navigates. With `href`, a real anchor inked and underlined on reach (the ink already signals * at rest); without, plain underlined text inside your own pressable, or a marker that a value leads * somewhere, underlined at rest since it has no ink. Colour comes from `color` — the neutral counterpart * of `Link` (fixed blue, `role="link"`). It never acts: underlined text goes or reveals, and anything * that mutates is a `Button` or `InlineButton`. For an in-prose disclosure use `color="muted"` inside * your pressable (composition.md §"Commit & feedback surfaces"). */ export declare function TextLink(props: TextLinkProps): import("react").JSX.Element; /** The text is its own destination (RFC 3986 § 4.3), shown as host and path without scheme or trailing * slash; nothing for non-`http(s)` text, which the caller states. */ export declare function webAddress(text: string): { href: string; label: string; } | undefined;