export interface Position { x: number; y: number; } /** * Get the position from a mouse or touch event */ export declare function getControlPosition(e: MouseEvent | TouchEvent | PointerEvent): Position | null; /** * Get touch identifier for tracking specific touches */ export declare function getTouchIdentifier(e: TouchEvent): number | null; /** * Check if this is the primary touch (first touch in multi-touch scenario) */ export declare function isPrimaryTouch(e: TouchEvent): boolean; /** * Add event listener options for better mobile performance * passive: false - allows preventDefault to work * capture: true - use capturing phase for better touch handling */ export declare const touchEventOptions: { passive: boolean; capture: boolean; }; /** * Prevent default behavior for touch events */ export declare function preventDefaultTouchEvent(e: TouchEvent): void; //# sourceMappingURL=touch.d.ts.map