import { default as React } from 'react'; export declare function isExternalUrl(url: string): boolean; export interface ILinkSubstitute { indices: [number, number]; url: string; } export interface ILinkMatch { key: string; text: string; url: string; index: number; } export declare function matchLinks(text: string): ILinkSubstitute[]; export declare function matchMDLinkNodes(text: string): Generator; export declare function matchLinkNodes(text: string): Generator; export declare function defaultLinkReplacerx(key: string, text: string, url: string): React.ReactNode; export declare function defaultLinkReplacer(_: string, text: string, url: string): string; export declare function linkify(text: string, replacer?: (key: string, text: string, url: string) => T, matcher?: (text: string) => Iterable): (T | string)[]; export declare function linkifyx(text: string, replacer?: typeof defaultLinkReplacerx): React.ReactNode; export declare function linkifyWithMD(text: string, replacer?: typeof defaultLinkReplacerx): React.ReactNode; export interface LinkifyProps { text: string; replacer?: typeof defaultLinkReplacerx; linkifyFn?: (text: string, replacer: typeof defaultLinkReplacerx) => React.ReactNode; } export declare function Linkify(props: LinkifyProps): import("react/jsx-runtime").JSX.Element; export declare function LinkifyWithMD(props: LinkifyProps): import("react/jsx-runtime").JSX.Element;