import type { HTMLAttributeAnchorTarget, MouseEvent, RefAttributes } from "react";
import type React from "react";
import "./Link.css";
export type LinkElementType = HTMLAnchorElement;
export interface LinkProps extends RefAttributes {
id?: string;
children?: React.ReactNode;
/** Path to link resource or page */
href?: string;
/** Custom class name for setting specific CSS */
className?: string;
title?: string;
style?: React.CSSProperties;
referrerPolicy?: ReferrerPolicy;
download?: boolean | string;
rel?: string;
target?: HTMLAttributeAnchorTarget;
isDisabled?: boolean;
onClick?: (event: MouseEvent) => void;
to?: unknown;
elementType?: React.ElementType;
/** Visual style variant for the link */
variant?: "primary" | "secondary";
}
declare function Link({ ref, ...props }: LinkProps): import("react/jsx-runtime").JSX.Element;
declare namespace Link {
var displayName: string;
}
export { Link };