2025-07-04 15:36:51 +08:00

30 lines
1.0 KiB
TypeScript

import Core from '@any-touch/core';
import tap from '@any-touch/tap';
import pan from '@any-touch/pan';
import swipe from '@any-touch/swipe';
import press from '@any-touch/press';
import pinch from '@any-touch/pinch';
import rotate from '@any-touch/rotate';
import doubletap from '@any-touch/doubletap';
import { Options as O } from '@any-touch/core';
export declare type Options = O;
export { AnyTouchEvent } from '@any-touch/shared';
export declare type SupportElement = HTMLElement | SVGElement;
export default class extends Core {
static STATE_POSSIBLE: any;
static STATE_START: any;
static STATE_MOVE: any;
static STATE_END: any;
static STATE_CANCELLED: any;
static STATE_FAILED: any;
static STATE_RECOGNIZED: any;
static tap: typeof tap;
static pan: typeof pan;
static swipe: typeof swipe;
static press: typeof press;
static rotate: typeof rotate;
static pinch: typeof pinch;
static doubletap: typeof doubletap;
constructor(el?: SupportElement, options?: O);
}