import React from "react";
interface IOProps {
    getContainer: any;
    onChange: any;
    options: any;
    style: any;
}
declare class ContextMenu extends React.Component<IOProps> {
    private root;
    static Option: ({ value, children }: {
        value: any;
        children: any;
    }) => any[];
    static Group: ({ children }: {
        children: any;
    }) => any;
    static defaultProps: {
        getContainer: () => HTMLElement;
        onChange: () => void;
    };
    state: {
        visible: boolean;
    };
    componentDidMount(): void;
    componentWillUnmount(): void;
    _handleContextMenu: (event: any) => void;
    _handleClick: () => void;
    _handleScroll: () => void;
    renderMenu: (options: any) => any;
    render(): JSX.Element | null;
}
export default ContextMenu;
