/**
 * ContextMenu Component
 *
 * A context menu for the workflow builder that appears on right-click
 */
import PropTypes from 'prop-types';
/**
 * ContextMenu component for workflow builder
 * @param {Object} props - Component props
 * @param {boolean} props.visible - Whether the context menu is visible
 * @param {Object} props.position - Position of the context menu
 * @param {Object} props.target - The target element that was right-clicked
 * @param {Array} props.items - Menu items to display
 * @param {Function} props.onItemClick - Callback when a menu item is clicked
 * @param {Function} props.onClose - Callback when the menu is closed
 * @param {string} props.className - Additional CSS classes
 * @param {Object} props.style - Additional inline styles
 * @returns {React.ReactElement} ContextMenu component
 */
export declare const ContextMenu: {
    ({ visible, position, target, items, onItemClick, onClose, className, style, ...rest }: {
        [x: string]: any;
        visible?: boolean | undefined;
        position?: {
            x: number;
            y: number;
        } | undefined;
        target?: null | undefined;
        items?: never[] | undefined;
        onItemClick: any;
        onClose: any;
        className?: string | undefined;
        style?: {} | undefined;
    }): import("react/jsx-runtime").JSX.Element | null;
    propTypes: {
        visible: PropTypes.Requireable<boolean>;
        position: PropTypes.Requireable<PropTypes.InferProps<{
            x: PropTypes.Validator<number>;
            y: PropTypes.Validator<number>;
        }>>;
        target: PropTypes.Requireable<PropTypes.InferProps<{
            id: PropTypes.Requireable<string>;
            type: PropTypes.Requireable<string>;
            data: PropTypes.Requireable<any>;
        }>>;
        items: PropTypes.Requireable<(NonNullable<PropTypes.InferProps<{
            id: PropTypes.Validator<string>;
            label: PropTypes.Validator<string>;
            icon: PropTypes.Requireable<string>;
            action: PropTypes.Validator<string>;
            value: PropTypes.Requireable<any>;
            danger: PropTypes.Requireable<boolean>;
        }> | PropTypes.InferProps<{
            id: PropTypes.Validator<string>;
            label: PropTypes.Validator<string>;
            icon: PropTypes.Requireable<string>;
            subItems: PropTypes.Validator<any[]>;
        }> | PropTypes.InferProps<{
            type: PropTypes.Validator<string>;
        }> | null | undefined> | null | undefined)[]>;
        onItemClick: PropTypes.Requireable<(...args: any[]) => any>;
        onClose: PropTypes.Requireable<(...args: any[]) => any>;
        className: PropTypes.Requireable<string>;
        style: PropTypes.Requireable<object>;
    };
};
export default ContextMenu;
//# sourceMappingURL=ContextMenu.d.ts.map