Missing export for @sanity/imagetool replacement
Describe the bug
The https://www.npmjs.com/package/@sanity/imagetool package was deprecated and moved inside the 'sanity' package with version 3. It seems no export is available.
Which versions of Sanity are you using?
3.16.7
Additional context
While Sanity supports private datasets, it does not support private assets. For one of our customers we needed private assets. So we created a custom input that stores the images in a safe location while keeping the default Sanity image manipulation tools. We create a backend server that handles the resizing following the same url patterns Sanity uses.
For the input component we recreated the upload and select button to store their data in and retrieve retrieve their data from different (private) place. For the image manipulation we used the @sanity/imagetool.
To finish our migration we would need access to the version that comes with Sanity 3.
I might have missed it, maybe it is accessible, I could not find documentation for it and it seems to be missing from the type declarations.
At NPM we can read the following:
⚠️ THIS PACKAGE IS DEPRECATED This package is part of Sanity Studio v2, which has been superseded by Sanity Studio v3, the current major version released on Dec 7th, 2022. This package is no longer used/needed for Sanity Studio in its current version and will be retired on Dec 7th, 2023. The core packages for Sanity Studio v2 will only receive critical bug fixes until this date.
@jmswrnr I noticed you worked on this, do you happen to know if it is exported and (if not) can add an export statement so we can use this?
https://github.dev/sanity-io/sanity/blob/main/packages/sanity/src/core/form/inputs/files/ImageToolInput/imagetool/ImageTool.tsx
We are currently on Sanity 3.81.0