import React from 'react'; import { NativeScrollEvent, NativeSyntheticEvent } from 'react-native'; import { DraggableNodeOptions, LayoutRect } from '../context'; export declare const ScrollState: { END: number; }; export declare function resolveScrollRef(ref: any): any; export declare function useDraggable(options?: DraggableNodeOptions): { nodeRef: React.RefObject; offset: React.RefObject<{ x: number; y: number; }>; draggableNodes: import("../context").DraggableNodes; layout: React.RefObject; gestureContext: { ref: React.RefObject; eventManager: import("../eventmanager").default; }; }; /** * Create a custom scrollable view inside the action sheet. * The scrollable view must implement `onScroll`, and `onLayout` props. * @example * ```tsx const handlers = useScrollHandlers(); return * ``` */ export declare function useScrollHandlers(options?: DraggableNodeOptions): { ref: React.RefObject; simultaneousHandlers: React.RefObject[]; onScroll: (event: NativeSyntheticEvent) => void; scrollEventThrottle: number; onLayout: () => void; }; //# sourceMappingURL=use-scroll-handlers.d.ts.map