import * as React from 'react'; import { IconProps } from 'react-magma-icons'; import { Omit } from '../../utils'; import { ButtonStyles } from '../Button'; export declare enum HyperlinkIconPosition { left = "left", right = "right", both = "both" } export interface HyperlinkProps extends ButtonStyles, Omit, 'color'> { /** * @children required */ children: React.ReactNode; /** * How the hyperlink is styled (can look like either a plain link or a button) */ styledAs?: 'Button' | 'Link'; isInverse?: boolean; /** * @internal */ testId?: string; /** * The href value of the link */ to: string; hasUnderline?: boolean; /** * Icon to display within the component */ icon?: React.ReactElement | Array>; /** * Position within the link for the icon to appear * @default HyperlinkIconPosition.right */ iconPosition?: HyperlinkIconPosition; /** * If true, the link will be opened in a new tab * @default false */ opensInNewTab?: boolean; } export declare const Hyperlink: React.ForwardRefExoticComponent>;