import React from "react"; import { LayoutChangeEvent, LayoutRectangle, StyleProp, ViewStyle } from "react-native"; import { GestureStateChangeEvent, GestureUpdateEvent, PanGestureHandlerEventPayload } from "react-native-gesture-handler"; import { type WithSpringConfig } from "react-native-reanimated"; import { type DndContextValue, type ItemOptions } from "./DndContext"; import type { UniqueIdentifier } from "./types"; export type DndProviderProps = { springConfig?: WithSpringConfig; activationDelay?: number; minDistance?: number; disabled?: boolean; onLayout?: (ev: LayoutChangeEvent) => void; onDragEnd?: (ev: { active: ItemOptions; over: ItemOptions | null; }) => void; onBegin?: (event: GestureStateChangeEvent, meta: { activeId: UniqueIdentifier; activeLayout: LayoutRectangle; }) => void; onUpdate?: (event: GestureUpdateEvent, meta: { activeId: UniqueIdentifier; activeLayout: LayoutRectangle; }) => void; onFinalize?: (event: GestureStateChangeEvent, meta: { activeId: UniqueIdentifier; activeLayout: LayoutRectangle; }) => void; style?: StyleProp; debug?: boolean; }; export type DndProviderHandle = Pick; export declare const DndProvider: React.ForwardRefExoticComponent>; //# sourceMappingURL=DndProvider.d.ts.map