interface CreateContextMenuHandlersOptions {
    /** Props of the child element that opens the dropdown */
    childProps: Record<string, any>;
    /** If set, right-click trigger is disabled and the browser's default context menu is shown */
    disabled: boolean | undefined;
    /** Current opened state, used to set `data-expanded` on the child */
    opened: boolean;
    /** Sets the floating reference to a virtual element positioned at the cursor */
    setReference: (node: object) => void;
    /** Called to open the dropdown after the reference has been set */
    open: () => void;
}
export declare function createContextMenuHandlers({ childProps, disabled, opened, setReference, open, }: CreateContextMenuHandlersOptions): {
    onContextMenu: (event?: any) => void;
    onMouseDown: (event?: any) => void;
    'data-expanded': boolean | undefined;
};
export {};
