To use the Imports API, install the @wix/loyalty package using npm or Yarn:
@wix/loyalty
1
or
Then import { imports } from @wix/loyalty:
{ imports }