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