To use the site module, import * as wixSiteSite from the @wix/site-site module:
* as wixSiteSite
@wix/site-site
The APIs in @wix/site-site can only be used in front-end code.