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 = PolymorphicComponentProps; /** * @beta Experimental component - may have breaking changes in future releases */ export declare const Link: ({ external, ariaLabelExternalIcon, className, spacing, children, as, ...rest }: LinkProps) => JSX.Element; export {};