import { type MenuItemProps as MuiMenuItemProps } from '@mui/material'; import { type ComponentPropsWithRef, type ElementType } from 'react'; import { type TooltipProps } from '../Tooltip'; import { type WithoutEmotionSpecific } from '../types'; export type MenuItemProps = WithoutEmotionSpecific & { /** * Текст тултипа при заблокированном состоянии элемента меню */ disabledReason?: string; /** * Текст тултипа при наведении на элемент меню */ note?: string; /** * Позиционирование тултипа * @default left */ tooltipPlacement?: TooltipProps['placement']; /** * Тип элемента */ component?: TComponent; /** * Ссылка, если в component передан тег a. */ href?: string; } & ComponentPropsWithRef; export declare const MenuItem: (props: WithoutEmotionSpecific & { /** * Текст тултипа при заблокированном состоянии элемента меню */ disabledReason?: string | undefined; /** * Текст тултипа при наведении на элемент меню */ note?: string | undefined; /** * Позиционирование тултипа * @default left */ tooltipPlacement?: TooltipProps['placement']; /** * Тип элемента */ component?: TComponent | undefined; /** * Ссылка, если в component передан тег a. */ href?: string | undefined; } & ComponentPropsWithRef & import("react").RefAttributes) => import("react").ReactElement> | null;