/** * Click vs drag-select: open modals only when the pointer barely moved. * * OpenTUI starts selection on mouse-down over selectable text with * `isDragging=true` immediately, so we cannot rely on that flag. A small * movement threshold distinguishes a real drag-select from a click. */ import type { MouseEvent } from "@opentui/core"; export interface ClickWithoutDragHandlers { readonly onMouseDown: (event: MouseEvent) => void; readonly onMouseUp: (event: MouseEvent) => void; } export declare function useClickWithoutDrag(onClick: () => void): ClickWithoutDragHandlers;