import React, { AnchorHTMLAttributes, type ComponentProps, HTMLAttributes } from "react";
import { ArrowRightIcon } from "@navikt/aksel-icons";
import type { AsChildProps } from "../../types";
type LinkAnchorOverlayProps = HTMLAttributes & AsChildProps;
declare const LinkAnchorOverlay: React.ForwardRefExoticComponent>;
type LinkAnchorProps = AnchorHTMLAttributes & ({
children: React.ReactElement | false | null;
/**
* Renders the component and its child as a single element,
* merging the props of the component with the props of the child.
*/
asChild: true;
as?: never;
} | {
children: React.ReactNode;
/**
* Renders the component and its child as a single element,
* merging the props of the component with the props of the child.
*/
asChild?: false;
href: string;
});
declare const LinkAnchor: React.ForwardRefExoticComponent>;
type LinkAnchorArrowProps = Omit, "ref">;
declare const LinkAnchorArrow: React.ForwardRefExoticComponent>;
export { LinkAnchor, LinkAnchorArrow, LinkAnchorOverlay };
export type { LinkAnchorArrowProps, LinkAnchorOverlayProps, LinkAnchorProps };