To use the CRM API, import wixCrmFrontend from the @wix/site-crm module:
wixCrmFrontend
@wix/site-crm