To use the ConnectedDomainSetupInfo API, install the @wix/domains package using npm or Yarn:
@wix/domains
or
Then import { connectedDomainSetupInfo } from @wix/domains:
{ connectedDomainSetupInfo }