import Animated from 'react-native-reanimated'; import type { LayoutChangeEvent } from 'react-native'; /** * Namespace for animated values associated with the scrolling content. */ declare class AnimatedStoreScrolling { static _scrollingClock: Animated.Clock; static _scrollY: Animated.Value; static _velocityScrollY: Animated.Value; static _panScrollState: Animated.Value; static _onGestureEventScrolling: (...args: any[]) => void; static enabledContentGestureInteraction: boolean; static contentHeight: Animated.Value; static headerHeight: number; static snapPoints: readonly number[]; static init: (enabledContentGestureInteraction: boolean, snapPoints: readonly number[]) => void; static handleLayoutHeader: ({ nativeEvent: { layout: { height: heightOfHeader }, }, }: LayoutChangeEvent) => void; static handleLayoutContent: ({ nativeEvent: { layout: { height }, }, }: LayoutChangeEvent) => void; static limitedScroll: (val: Animated.Value) => Animated.Node; static _prevTransY: Animated.Value; static _transY: Animated.Value; static _startedAtTheTop: Animated.Value; /** * 1 - scrolling content * 2 - sheet dragging */ static _lastState: Animated.Value; static scrollOffset: Animated.Value; static scrollOffsetWhileSnapped: Animated.Value; static _masterScrollY: Animated.Node; } export { AnimatedStoreScrolling };