To use the SEO API, import wixSeoFrontend from the @wix/site-seo module:
wixSeoFrontend
@wix/site-seo
import wixSeoFrontend from "@wix/site-seo";