import { type RefObject } from 'react'; import { type CallbackSetter } from './shared/types'; /** * A hook that facilitates the implementation of the long press functionality on a given target, supporting both mouse and touch events. */ declare const useLongPress: (target: RefObject, duration?: number) => Readonly; export interface UseLongPressResult { isLongPressing: boolean; onLongPressStart: CallbackSetter; onLongPressEnd: CallbackSetter; } export default useLongPress;