1 | import { Gesture, GestureType } from './gesture';
|
2 | export declare class ComposedGesture extends Gesture {
|
3 | protected gestures: Gesture[];
|
4 | protected simultaneousGestures: GestureType[];
|
5 | protected requireGesturesToFail: GestureType[];
|
6 | constructor(...gestures: Gesture[]);
|
7 | protected prepareSingleGesture(gesture: Gesture, simultaneousGestures: GestureType[], requireGesturesToFail: GestureType[]): void;
|
8 | prepare(): void;
|
9 | initialize(): void;
|
10 | toGestureArray(): GestureType[];
|
11 | }
|
12 | export declare class SimultaneousGesture extends ComposedGesture {
|
13 | prepare(): void;
|
14 | }
|
15 | export declare class ExclusiveGesture extends ComposedGesture {
|
16 | prepare(): void;
|
17 | }
|
18 | export type ComposedGestureType = InstanceType<typeof ComposedGesture>;
|
19 | export type RaceGestureType = ComposedGestureType;
|
20 | export type SimultaneousGestureType = InstanceType<typeof SimultaneousGesture>;
|
21 | export type ExclusiveGestureType = InstanceType<typeof ExclusiveGesture>;
|