import { createGuard } from '../../../../shared/foundation/guard.base.js';
import { npmRegistryResponseSchema } from '../../../../modules/cli-configuration/entities/packageVersion/packageVersion.schema.js';
const npmRegistryResponseGuard = createGuard(npmRegistryResponseSchema, 'npmRegistryResponse');
export function parseNpmRegistryResponse(data) {
    return npmRegistryResponseGuard.parse(data);
}
export function safeParseNpmRegistryResponse(data) {
    return npmRegistryResponseGuard.safeParse(data);
}
export function isValidNpmRegistryResponse(data) {
    return npmRegistryResponseGuard.isValid(data);
}
//# sourceMappingURL=packageVersion.guard.js.map