To use the Recovery API, install the @wix/identity package using npm or Yarn:
@wix/identity
or
Then import { recovery } from @wix/identity:
{ recovery }