import React from 'react';
import { BaseComponentProps } from '../internal/base-component';
import { CancelableEventHandler } from '../internal/events';
export interface LinkProps extends BaseComponentProps {
    variant?: LinkProps.Variant;
    fontSize?: LinkProps.FontSize;
    color?: LinkProps.Color;
    external?: boolean;
    target?: string;
    href?: string;
    children?: React.ReactNode;
    ariaLabel?: string;
    externalIconAriaLabel?: string;
    onFollow?: CancelableEventHandler;
}
export declare namespace LinkProps {
    type Variant = 'primary' | 'secondary' | 'info';
    type FontSize = 'body-s' | 'body-m' | 'heading-xs' | 'heading-s' | 'heading-m' | 'heading-l' | 'heading-xl' | 'display-l';
    type Color = 'normal' | 'inverted';
    interface Ref {
        focus(): void;
    }
}
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<LinkProps.Ref>>;
export default Link;
