import type { EngineAdapter } from "@auto-hwp/editor-core"; import { HoverStore } from "./hover"; export interface UseHoverParams { /** The backend seam — hover reads geometry via `tableCellAt` (cell) then `hitTest` (block). */ adapter: EngineAdapter; /** enableEditing — false ⇒ highlight still shows, but the cursor stays default (issue 038 §억제). */ editingOn: boolean; /** The element carrying `data-hover-cursor` that the sheet cursors key off (the scroll container). */ cursorHostRef: React.RefObject; /** Live suppression mirrors, read fresh per move without re-subscribing. */ panModeRef: React.RefObject; panningRef: React.RefObject; editorOpenRef: React.RefObject; /** Batched suppression flag (pan | pan-drag | editor-open | gesture-active) — clears the highlight the * instant it flips on (those transitions may have no following pointermove to clear it). */ suppressed: boolean; } export interface UseHoverResult { /** The store HoverLayer subscribes to (one instance for the workspace's lifetime). */ store: HoverStore; /** Attach to the workspace's pointer surface (the zoom layer) — hover moves bubble here. */ onPointerMove: (e: React.PointerEvent) => void; /** Attach to the same surface — clears the highlight when the pointer leaves the pages. */ onPointerLeave: () => void; } export declare function useHover(params: UseHoverParams): UseHoverResult; //# sourceMappingURL=useHover.d.ts.map