import { FC, ReactNode } from 'react';
import { ConnectedOverlayProps } from '../../utils';
import { ContextMenuTheme } from './ContextMenuTheme';
export interface ContextMenuContentProps {
    /** Closes the current context menu. */
    close: () => void;
    /** Closes all open context menus. */
    closeAll: () => void;
}
export interface ContextMenuProps extends Omit<ConnectedOverlayProps, 'open'> {
    /**
     * Child element to trigger the context menu.
     */
    children: ReactNode;
    /**
     * Content to show in the context menu.
     */
    content: any | ((args: any) => ReactNode);
    /**
     * Whether the context menu is disabled.
     */
    disabled?: boolean;
    /**
     * Whether the context menu should autofocus on open.
     * @default true
     */
    autofocus?: boolean;
    /**
     * Whether the context menu should close on click.
     * @default true
     */
    autoClose?: boolean;
    /**
     * Class name to apply to the trigger element.
     */
    triggerClassName?: string;
    /**
     * Class name to apply to the trigger when the context menu is open.
     */
    triggerOpenClassName?: string;
    /**
     * Theme for the Context Menu.
     */
    theme?: ContextMenuTheme;
}
export declare const ContextMenu: FC<ContextMenuProps>;
