import type { MouseEventHandler, RefObject } from "react";
export interface PopoverPosition {
	left: number;
	top: number;
	width: number;
}
interface UseCellContextMenuProps {
	tdRef: RefObject<HTMLTableCellElement>;
}
interface UseCellContextMenuResults {
	isContextMenuOpen: boolean;
	handleOpenContextMenu: MouseEventHandler<HTMLTableCellElement>;
	handleCloseContextMenu: () => void;
	popoverPosition: PopoverPosition | null;
}
export declare const useCellContextMenu: ({ tdRef }: UseCellContextMenuProps) => UseCellContextMenuResults;
export {};
