import { type AnchorHTMLAttributes } from 'react';
import { type GrafanaTheme2, type ThemeTypographyVariantTypes } from '@grafana/data';
import { type IconName } from '../../types/icon';
type TextLinkVariants = keyof Omit;
interface TextLinkProps extends Omit, 'target' | 'rel'> {
/** url to which redirect the user, external or internal */
href: string;
/** Color to use for text */
color?: keyof GrafanaTheme2['colors']['text'];
/** Specify if the link will redirect users to a page in or out Grafana */
external?: boolean;
/** True when the link will be displayed inline with surrounding text, false if it will be displayed as a block. Depending on this prop correspondant default styles will be applied */
inline?: boolean;
/** The default variant is 'body'. `code` is excluded, as it is not fit for links. */
variant?: TextLinkVariants;
/** Override the default weight for the used variant */
weight?: 'light' | 'regular' | 'medium' | 'bold';
/** Set the icon to be shown. An external link will show the 'external-link-alt' icon as default.*/
icon?: IconName;
children: React.ReactNode;
}
/**
* The TextLink component renders an anchor tag `` that takes users to another page, external or internal to Grafana.
*
* https://developers.grafana.com/ui/latest/index.html?path=/docs/foundations-textlink--docs
*/
export declare const TextLink: import("react").ForwardRefExoticComponent>;
export {};