import { type PointerEvent as ReactPointerEvent } from "react"; /** * @internal */ export interface IPointerTrackHandlers { onPointerDown: (event: ReactPointerEvent) => void; onPointerMove: (event: ReactPointerEvent) => void; onPointerUp: (event: ReactPointerEvent) => void; onPointerCancel: (event: ReactPointerEvent) => void; onLostPointerCapture: (event: ReactPointerEvent) => void; } /** * Follows a press and everything it drags through. * * @remarks * The handlers must be spread on the element the gesture is measured against: they report * `currentTarget`, and a caller that reads a child's or a parent's size instead will place the value * somewhere the pointer is not. * * @internal */ export declare function usePointerTrack(track: (event: ReactPointerEvent) => void): IPointerTrackHandlers; //# sourceMappingURL=usePointerTrack.d.ts.map