import { MousePointer, Pointers, PointerType } from "../types/Pointers.js"; export type TapUserGestureOptions
= { /** * The target element to tap on. */ target: Element; /** * The amount of taps to be performed. * * @default 1 */ taps?: number; /** * The delay between taps in milliseconds. * * @default 50 */ delay?: number; } & (P extends 'mouse' ? { /** * The pointer configuration to be used. */ pointer?: MousePointer; } : { /** * The pointers configuration to be used. * * It can be an object with the amount and distance properties, or an array of pointers. * * @default * { amount: 1, distance: 50 } */ pointers?: Pointers; }); export type TapUserGestureRoot
= { /** * Taps on the target element. * * @param {TapUserGestureOptions
} options - Configuration for the tap gesture
* @returns {Promise ) => Promise