1 | import { BaseGestureConfig, BaseGesture } from './gesture';
|
2 | import { NativeViewGestureConfig } from '../NativeViewGestureHandler';
|
3 | import type { NativeViewGestureHandlerPayload } from '../GestureHandlerEventPayload';
|
4 | export declare class NativeGesture extends BaseGesture<NativeViewGestureHandlerPayload> {
|
5 | config: BaseGestureConfig & NativeViewGestureConfig;
|
6 | constructor();
|
7 | /**
|
8 | * When true, underlying handler will activate unconditionally when in `BEGAN` or `UNDETERMINED` state.
|
9 | * @param value
|
10 | */
|
11 | shouldActivateOnStart(value: boolean): this;
|
12 | /**
|
13 | * When true, cancels all other gesture handlers when this `NativeViewGestureHandler` receives an `ACTIVE` state event.
|
14 | * @param value
|
15 | */
|
16 | disallowInterruption(value: boolean): this;
|
17 | }
|
18 | export type NativeGestureType = InstanceType<typeof NativeGesture>;
|