Editor Extensions API

Just tried to move some cocos 2.X extensions to new cocos 3.X and was surprised whole api has been deprecated, following api I used before:

Editor.assetdb.queryAssets
Editor.assetdb.refresh
Editor.Scene.callSceneScript
etc

Found some interesting typing here /Applications/Cocos/Creator/3.8.1/CocosCreator.app/Contents/Resources/resources/3d/engine/@types/editor-extends.d.ts but its not available inside extension and no any JS implementation files.

On official docs website nothing about extension 2x->3x migration also, docs about new extension tells about how to send messages between panels, nothing about assets and scene graph etc

Is it possible to use same functionality or it is not available anymore?
Thanks