1 | import { ContinousBaseGesture } from './gesture';
|
2 | import type { RotationGestureHandlerEventPayload } from '../GestureHandlerEventPayload';
|
3 | import { GestureUpdateEvent } from '../gestureHandlerCommon';
|
4 | type RotationGestureChangeEventPayload = {
|
5 | rotationChange: number;
|
6 | };
|
7 | export declare class RotationGesture extends ContinousBaseGesture<RotationGestureHandlerEventPayload, RotationGestureChangeEventPayload> {
|
8 | constructor();
|
9 | onChange(callback: (event: GestureUpdateEvent<RotationGestureHandlerEventPayload & RotationGestureChangeEventPayload>) => void): this;
|
10 | }
|
11 | export type RotationGestureType = InstanceType<typeof RotationGesture>;
|
12 | export {};
|