export interface ReorderableListItemComponentProps { /** the item from reorderable list */ item: any; /** Call with (id, beforeId) */ onPutBefore: any; /** Call with (id, afterId) */ onPutAfter: any; /** Called when drag is complete */ onEndDrag: any; /** index of the current item */ index: number; /** function to render the current item, passed by ReorderableListComponent */ renderItem: any; /** the ID of the list where reordering is constrained to */ constrainTo: string; getItemId: any; } /** * Reorderable list item using react-dnd hooks. Exposes legacy-style "connect" * callbacks to the consumer's `renderItem` callback so that consumers can wrap * arbitrary elements with drag-source / drag-preview / drop-target refs * without knowing about the underlying hooks API. */ export default function ReorderableListItemComponent(props: ReorderableListItemComponentProps): any;