/*! Modus React Bootstrap A React-based component library developed as a common, open source platform for all of Trimble’s web applications built on React. Extends React-Bootstrap v1.6.5 Copyright (c) 2022 Trimble Inc. */ import React from 'react'; import PropTypes from 'prop-types'; import { ContextMenuItem } from './ContextMenu.types'; interface ContextMenuProps extends Omit, 'as' | 'size'> { menu: ContextMenuItem[]; anchorPointX: string | number; anchorPointY: string | number; size?: string; onClose: (...args: any[]) => void; } declare function ContextMenu(props: React.PropsWithChildren & { ref?: React.Ref; }): React.ReactElement; declare namespace ContextMenu { var propTypes: { menu: PropTypes.Validator; anchorPointX: PropTypes.Validator>>; anchorPointY: PropTypes.Validator>>; onClose: PropTypes.Validator<(...args: any[]) => any>; }; } export default ContextMenu;