import { MousePointer, Pointers, PointerType } from "../types/Pointers.mjs"; export type PressUserGestureOptions

= { /** * The target element to press on. */ target: Element; /** * The duration of the press in milliseconds. * * @default 500 */ duration?: 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 PressUserGestureRoot

= { /** * Press on the target element. * * @param {PressUserGestureOptions

} options - Configuration for the press gesture * @returns {Promise} A promise that resolves when the press gesture is completed */ press: (options: PressUserGestureOptions

) => Promise; };