import { GamutIconProps } from '@codecademy/gamut-icons'; import { ComponentProps } from 'react'; import { ToolTipProps } from '../Tip/ToolTip'; import { ListItem } from './elements'; type HTMLProps = Partial>; type ForwardListItemProps = Omit, 'variant' | 'selected' | 'active-navlink' | 'children'>; type ToolTipLabel = string | Omit; interface MenuItemIconOnly extends HTMLProps, ForwardListItemProps { icon: React.ComponentType; children?: never; /** ToolTips will only render for interactive items, otherwise the label will be used as a generic aria-label */ label: ToolTipLabel; disabled?: boolean; } interface MenuTextItem extends HTMLProps, ForwardListItemProps { icon?: React.ComponentType; children: React.ReactNode; label?: ToolTipLabel; disabled?: boolean; } export declare const MenuItem: import("react").ForwardRefExoticComponent<(Omit | Omit) & import("react").RefAttributes>; export {};