import React from 'react';
interface FooterProps {
    hasFooter: boolean;
    applyButtonText?: string;
    cancelButtonText?: string;
}
export interface ContextMenuProps {
    overlayClassName?: string;
    content: any;
    children?: any;
    placement?: any;
    footer?: FooterProps;
    onApply?: (e: any) => any;
    onCancel?: (e: any) => any;
    onVisibleChange?: (visible: boolean) => any;
    visible?: boolean;
    trigger?: any;
}
interface BlockProps {
    title?: string;
    className?: string;
}
declare class Block extends React.Component<BlockProps, {
    visible: boolean;
}> {
    handleInteraction: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
    render(): JSX.Element;
}
export default class ContextMenu extends React.Component<ContextMenuProps, any> {
    static Block: typeof Block;
    static defaultProps: Partial<ContextMenuProps>;
    state: {
        visible: boolean;
    };
    trigger: 'hover' | 'focus' | 'click' | undefined;
    constructor(props: any);
    hide: () => void;
    handleVisibleChange: (visible: boolean) => void;
    onApply: (e: any) => void;
    onCancel: (e: any) => void;
    render(): JSX.Element;
}
export {};
//# sourceMappingURL=ContextMenu.d.ts.map