import { UniqueIdentifier } from "@dnd-kit/core";

//#region src/components/pisellDraggable/types.d.ts
interface TreeItem {
  id: UniqueIdentifier;
  children: TreeItem[];
  collapsed?: boolean;
  disabledDrop?: boolean;
  [key: string]: any;
}
type TreeItems = TreeItem[];
interface FlattenedItem extends TreeItem {
  parentId: UniqueIdentifier | null;
  depth: number;
  index: number;
}
//#endregion
export { FlattenedItem, TreeItem, TreeItems };