feat: update random/tools TypeScript declarations
#9718
Merged
random/tools TypeScript declarations
#9718