import { default as React } from 'react';
import { PolymorphicComponentProps } from '@entur/utils';
import { TypographySpacing } from '../types';
/**
 * @beta Experimental component - may have breaking changes in future releases
 */
type LinkBaseProps = {
    external?: boolean;
    /** Ekstra klassenavn */
    className?: string;
    /** Innholdet */
    children: React.ReactNode;
    /** Spacing around the component (same as Text and Heading components) */
    spacing?: TypographySpacing;
    ariaLabelExternalIcon?: string;
};
export type LinkProps<C extends React.ElementType> = PolymorphicComponentProps<C, LinkBaseProps>;
/**
 * @beta Experimental component - may have breaking changes in future releases
 */
export declare const Link: <C extends React.ElementType = "a">({ external, ariaLabelExternalIcon, className, spacing, children, as, ...rest }: LinkProps<C>) => JSX.Element;
export {};
