import { ReactNode } from 'react'; interface ISortListProps { /** * 需要传递的列表 */ list: any[]; /** *list的key值,默认是id */ idKey?: string; /** * * @param arr 拖拽结束的回调 * @param ids * @returns */ onDragEnd: (arr: any[], ids: string[]) => void; children: ReactNode; } /** * 列表排序 */ export declare const SortListDndKit: ({ list, idKey, children, onDragEnd, }: ISortListProps) => JSX.Element; interface ISortItemProps { id: string; children: any; } export declare const SortItemDndKit: ({ id, children }: ISortItemProps) => JSX.Element; export {};