export type AnchorLinkTargets = '_self' | '_blank' | '_parent'; export type AnchorLinkTags = 'a' | 'button'; export type AnchorLinkOnClickEvent = React.MouseEvent | React.FormEvent | React.KeyboardEvent | null; export interface AnchorLinkProps { /** When true, onclick and keyboard events will be passed to the child. */ asChild?: boolean; /** Sets the content of the tag */ children: React.ReactNode; /** URL to link to */ href?: string; /** Gives a unique id to the anchor-link :) */ id?: string; /** Adds custom classes to the element. */ className?: string; /** Sets the target type of the tag. _blank adds an arrow icon at the end of the link */ target?: AnchorLinkTargets; /** HTML markup for anchor link. Default: a */ htmlMarkup?: AnchorLinkTags; /** Function that is called when clicked */ onClick?: (e?: AnchorLinkOnClickEvent) => void; /** Sets the data-testid attribute. */ testId?: string; /** Ref that is passed to the component */ ref?: React.Ref; } declare const AnchorLink: React.FC; export default AnchorLink;