import type { PolymorphicComponent } from "../types/helpers"; import type { StateVariant } from "../types/variants"; /** @alpha */ export interface BaseLinkProps { /** The initial state of the link (if you want to force a specific state) */ state?: StateVariant; /** Shows an external link icon */ isExternal?: boolean; } /** * A link component. * * External links (links with `target="_blank"`) will automatically show an * external link icon, but you can also explicitly set `isExternal` to `true` to * show the icon, or set it to `false` to hide the icon. * * @example Basic link * * ```tsx * Visit Example; * ``` * * @example Link with forced state * * ```tsx * * Hovered Link * ; * ``` * * @example External link * * ```tsx * * Go to Example * ; * ``` * * @alpha */ export declare const Link: PolymorphicComponent<"a", BaseLinkProps>; //# sourceMappingURL=Link.d.ts.map