To use the Collections API, install the @wix/stores package using npm or Yarn:
@wix/stores
or
Then import { collections } from @wix/stores:
{ collections }