/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import type { AnchorHTMLAttributes, ElementType, PropsWithChildren } from 'react'; import type { IconProps } from '../Icon'; export type MenuLinkProps = { /** The icon to display for the menu icon. Use the filled variant. */ readonly icon: IconProps['svg']; /** * The React component or intrinsic element to use for the link. * Refs are forwarded only to a plain anchor (the default, or `linkComponent="a"`), not to any other `linkComponent`. */ readonly linkComponent?: ElementType; } & Readonly>>; /** * A navigation link within a Menu. * * @see {@link https://designsystem.amsterdam/?path=/docs/components-navigation-menu--docs Menu docs at Amsterdam Design System} */ export declare const MenuLink: import("react").ForwardRefExoticComponent<{ /** The icon to display for the menu icon. Use the filled variant. */ readonly icon: IconProps["svg"]; /** * The React component or intrinsic element to use for the link. * Refs are forwarded only to a plain anchor (the default, or `linkComponent="a"`), not to any other `linkComponent`. */ readonly linkComponent?: ElementType; } & Readonly>> & import("react").RefAttributes>;