Missing api on cocos 3.15

hi, i have an exiting game with standalone code done with 3.10 that imports resources made with cocos studio
now i am migrating the project to 3.15 and resources to cocos creator
after i compiled the project i get crash errors that say cc.loader.loadRes and cc.Prefab do not exist.
what am i missing here?