import type { MouseEvent as ReactMouseEvent } from 'react'; import type { LayoutDirection } from '../types'; import type { ThemeColors } from '../utils/theme'; import type { MindMapMessages } from '../utils/i18n'; export interface MindMapContextMenuProps { position: { x: number; y: number; }; theme: ThemeColors; messages: MindMapMessages; direction: LayoutDirection; readonly?: boolean; /** When set, the menu targets a specific node and shows node actions. */ nodeId?: string | null; /** Whether the clipboard has a subtree available to paste. */ canPaste?: boolean; onNewRootNode: () => void; onImport: () => void; onExportSVG: () => void; onExportPNG: () => void; onExportMarkdown: () => void; onDirectionChange: (dir: LayoutDirection) => void; onAddChildNode?: (e: ReactMouseEvent) => void; onEditNode?: () => void; onDeleteNode?: () => void; onCopyNode?: () => void; onCutNode?: () => void; onPasteNode?: () => void; onClose: () => void; } export declare function MindMapContextMenu({ position, messages, readonly: readonlyProp, nodeId, canPaste, onNewRootNode, onImport, onExportSVG, onExportPNG, onExportMarkdown, onDirectionChange, onAddChildNode, onEditNode, onDeleteNode, onCopyNode, onCutNode, onPasteNode, onClose, }: MindMapContextMenuProps): import("react/jsx-runtime").JSX.Element;