DO NOT IMPLEMENT this interface. It is only meant for usage as a type hint
in libraries relying on composer/semver but creating your own constraint class
that implements this interface is not a supported use case and will cause the
composer/semver components to return unexpected results.