import React from 'react'; import { BaseAnimationWrapper } from './BaseAnimationWrapper'; import { AnimationWrapperProps } from '../../Types'; import BaseAnimationConfig from '../../data/BaseAnimationConfig'; import { DragState } from './DragStateMachine'; export interface DraggableAnimationProps extends AnimationWrapperProps { animationConfig: DraggableAnimationConfig; } export interface DraggableAnimationConfig extends BaseAnimationConfig { blacklistedStates?: DragState[]; enableStateDetection?: boolean; snapDelta?: number; onDragRelease?: (dragState: DragState, dx: number, dy: number, x: number, y: number) => void; onDragDirectionDetected?: (dragState: DragState) => void; } export declare class DraggableAnimationWrapper extends BaseAnimationWrapper { private pan; private panResponder; private dragStateMachine; constructor(props: DraggableAnimationProps); protected renderAnimation(content: React.ReactNode): React.ReactNode; protected updateCompositeAnimation(): void; finishAnimation(): void; }