import type { RefObject } from "react"; import { ContextMenuType, Task, RenderTask } from "../../types"; export declare const useContextMenu: (wrapperRef: RefObject, scrollToTask: (task: Task) => void) => { contextMenu: ContextMenuType; handleCloseContextMenu: () => void; handleOpenContextMenu: (task: RenderTask, clientX: number, clientY: number, options?: readonly unknown[]) => void; };