There is an issue with @atlaskit/tree package. I use it with typescript, and I cannot compile it with the latest Typescript version (4.3.3). The reason is the package references “react-beautiful-dnd-next”, which is a really old stuff which does not have type definitions.
The workaround on my side is to change references everywhere inside the package from “react-beautiful-dnd-next” to “react-beautiful-dnd”. The “react-beautiful-dnd” has type definition npm package which is allow me to compile my typescript project without issue.