import React from "react"; interface MenuItem { label: string | JSX.Element; disabled?: boolean; action?: (target?: Range | null) => void; group?: MenuItem[]; } interface contextMenuHandlerProps extends React.HTMLAttributes { children: JSX.Element[] | JSX.Element; menuItems: MenuItem[]; showLowMenu?: boolean; } export const ContextMenuHandler: { ({ children, menuItems, showLowMenu, ...rest }: contextMenuHandlerProps): JSX.Element; displayName: string; }; interface ContextWindowStackProps { id?: string; minZIndex?: number; children?: JSX.Element[] | JSX.Element; } export const ContextWindowStack: { ({ minZIndex, children, }: ContextWindowStackProps): JSX.Element; displayName: string; }; interface ContextWindowProps extends React.HTMLAttributes { id: string; visible: boolean; onOpen?: () => void; onClose?: () => void; title: string; style?: React.CSSProperties; children: JSX.Element[] | JSX.Element | string; } export const ContextWindow: { ({ id, visible, title, children, onOpen, onClose, ...rest }: ContextWindowProps): JSX.Element; displayName: string; }; //# sourceMappingURL=context-menu.d.ts.map