import { type HTMLAttributes, RefAttributes, ForwardRefExoticComponent } from 'react'; import { ContextMenuProps } from './types'; /** * Interface for ContextMenu component instance. */ export interface IContextMenu extends ContextMenuProps { /** * Specifies the DOM element of the ContextMenu. * * @private */ element: HTMLDivElement | null; } type ContextMenuComponentProps = ContextMenuProps & Omit, 'onSelect'>; /** * A context menu component that displays options when triggered by a right-click or tap-hold action. * Supports nested submenus, keyboard navigation, icons, and various animation effects. * * ```typescript * import { ContextMenu, MenuItem, MenuItemLabel, MenuItemIcon } from '@syncfusion/react-navigations'; * import { useRef } from 'react'; * * export default function App() { * const targetRef = useRef(null); * return ( * * Right Click Me * * * * Cut * * * * Copy * * * * Rename * * * * ); * } * ``` */ export declare const ContextMenu: ForwardRefExoticComponent>; declare const _default: import("react").NamedExoticComponent, "onSelect"> & RefAttributes>; export default _default;