Revert "chore: restore deprecate as an internal module (#40124)" This reverts commit 737e3de3fa.
737e3de3fa