/**
 * Doctor command types - diagnostic health checks for SpecWeave projects
 */
/**
 * Calculate overall status from individual check statuses
 */
export function calculateOverallStatus(checks) {
    if (checks.some((c) => c.status === 'fail'))
        return 'fail';
    if (checks.some((c) => c.status === 'warn'))
        return 'warn';
    if (checks.every((c) => c.status === 'skip'))
        return 'skip';
    return 'pass';
}
//# sourceMappingURL=types.js.map