UNPKG

react-native-gesture-handler

Version:

Declarative API exposing native platform touch and gesture system to React Native

19 lines 1.07 kB
import type { GestureRelations } from '../../v3/types'; import type IGestureHandler from '../handlers/IGestureHandler'; import type { Config } from '../interfaces'; export default class InteractionManager { private static _instance; private readonly waitForRelations; private readonly simultaneousRelations; private readonly blocksHandlersRelations; private constructor(); configureInteractions(handler: IGestureHandler, config: GestureRelations | Config): void; shouldWaitForHandlerFailure(handler: IGestureHandler, otherHandler: IGestureHandler): boolean; shouldRecognizeSimultaneously(handler: IGestureHandler, otherHandler: IGestureHandler): boolean; shouldRequireHandlerToWaitForFailure(handler: IGestureHandler, otherHandler: IGestureHandler): boolean; shouldHandlerBeCancelledBy(_handler: IGestureHandler, otherHandler: IGestureHandler): boolean; dropRelationsForHandlerWithTag(handlerTag: number): void; reset(): void; static get instance(): InteractionManager; } //# sourceMappingURL=InteractionManager.d.ts.map