import { type ReactNode } from "react"; export declare const LINKIFIED_LINK_CLASS = "font-medium og-link [overflow-wrap:anywhere]"; type Segment = { kind: "text"; value: string; } /** `value` is the href; `label` is the visible text of a Markdown link. */ | { kind: "link"; value: string; label?: string; }; /** Split plain text into text, bare http(s) URL, and Markdown link segments. */ export declare function linkifySegments(text: string): Segment[]; /** * Render plain text with bare http(s) URLs and Markdown `[label](url)` links as * links that open in a new tab and wrap anywhere, so a long sign-in or approval * URL stays clickable and inside its card. Non-string nodes pass through * unchanged. */ export declare function linkifyText(node: ReactNode): ReactNode; export {};