interface PressHandlers<T> {
    onLongPress: (event: React.MouseEvent<T> | React.TouchEvent<T>) => void;
    onClick?: (event: React.MouseEvent<T> | React.TouchEvent<T>) => void;
}
interface Options {
    delay?: number;
    shouldPreventDefault?: boolean;
}
export default function useLongPress<T>({ onLongPress, onClick }: PressHandlers<T>, { delay, shouldPreventDefault }?: Options): {
    onMouseDown: (event: React.MouseEvent<T>) => void;
    onTouchStart: (event: React.TouchEvent<T>) => void;
    onMouseUp: (event: React.MouseEvent<T>) => void;
    onMouseLeave: (event: React.MouseEvent<T>) => void;
    onTouchEnd: (event: React.TouchEvent<T>) => void;
};
export {};
