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