To use the Ricos API, install the @wix/events package using npm or Yarn:
@wix/events
npm install @wix/events
or
yarn add @wix/events
Then import { ricos } from @wix/events:
{ ricos }
import { ricos } from "@wix/events";