import { ParsedUrlQueryInput } from "querystring"; import React, { ComponentPropsWithoutRef } from "react"; import { DisabledVariantProps } from "../../styles/utils/disabled"; import { LinkVariantProps } from "../../styles/utils/link"; export type Url = string | { pathname: string; query?: ParsedUrlQueryInput; }; export type LinkProps = Omit, "href"> & LinkVariantProps & DisabledVariantProps & { href?: Url; }; /** * A standard `a` tag with reasonable defaults. */ export declare const Link: React.ForwardRefExoticComponent, HTMLAnchorElement>, "ref">, "href"> & LinkVariantProps & DisabledVariantProps & { href?: Url; } & React.RefAttributes>; export declare const isExternalLink: (href: Url) => boolean; export declare const formatHref: (href: Url) => string; export declare const NonAnchorLink: React.ForwardRefExoticComponent, HTMLAnchorElement>, "ref">, "href"> & LinkVariantProps & DisabledVariantProps & { href?: Url; } & React.RefAttributes>; //# sourceMappingURL=Link.d.ts.map