import { default as React } from 'react'; import { PolymorphicComponentProps } from '@entur/utils'; export type LinkOwnProps = { external?: boolean; /** HTML-elementet eller React-komponenten som rendres * @default "a" */ as?: string | React.ElementType; /** Ekstra klassenavn */ className?: string; /** Innholdet */ children: React.ReactNode; /** Hvor du vil ha marginer * @default "both" */ margin?: 'top' | 'bottom' | 'both' | 'none'; ariaLabelExternalIcon?: string; }; export type LinkProps = PolymorphicComponentProps; declare const defaultElement = "a"; export declare const Link: ({ external, ariaLabelExternalIcon, className, margin, children, as, ...rest }: LinkProps) => JSX.Element; export {};