import React from 'react'; import { ScreenComponentDataTypeWithPath } from '@orca-fe/deye-typings'; import { AbsoluteOnDropArg, DefaultOnDropArg, DndContextType } from '@orca-fe/deye-core'; declare type OnDrop = (arg: DefaultOnDropArg | AbsoluteOnDropArg) => void; export interface DndProviderProps { onDrop?: OnDrop; children: React.ReactNode; checkedIds?: DndContextType['checkedIds']; dragStartPosition?: DndContextType['dragStartPosition']; onCheckedIdsChange?: (value: DndContextType['checkedIds']) => void; dragging?: ScreenComponentDataTypeWithPath[] | false; onDraggingChange?: (value: ScreenComponentDataTypeWithPath[] | false) => void; onRequestGlobalLoading?: () => void; onFinishGlobalLoading?: () => void; } export declare const DndProvider: (props: DndProviderProps) => JSX.Element; export default DndProvider;