import { ReactElement, ReactNode } from 'react'; interface MonitorElementsProps { elements: Array>; accessKey: string; axis?: 'vertical' | 'horizontal'; onChange: (elements: Array>) => void; } /** * This hook is responsible for monitoring the drag and drop of elements. * It will call the onChange function with the new order of elements when a drop is detected. * * @param elements - The list of elements to monitor * @param accessKey - The key to use to identify the elements (key of the object) * @param axis - The axis to monitor the drag and drop on * @param onChange - The function to call when a drop is detected */ export declare function useDragAndDropMonitor({ elements, accessKey, axis, onChange, }: MonitorElementsProps): void; export interface DragAndDropElementProps { children: ReactNode; data: Record; } export declare function DragAndDropElement({ children, data }: DragAndDropElementProps): ReactElement; export {}; //# sourceMappingURL=DragAndDropList.d.ts.map