import { ContextMenuItemProps as ContextMenuItem } from './ContextMenuItem';
import { Position } from '../../utils/mapTypes';
export declare const isContextMenuEvent: (event: H.mapevents.ContextMenuEvent) => boolean;
export declare const isMapTarget: (event: H.mapevents.ContextMenuEvent, map: H.Map) => any;
export type ContextMenuProps = {
    onOpen?: (menuPosition: Position) => void;
    menuItems?: React.ReactElement<ContextMenuItem>[];
    contextMenuEvent?: H.mapevents.ContextMenuEvent;
    targetPosition?: Position;
};
declare const ContextMenu: (props: ContextMenuProps) => null;
export default ContextMenu;
