"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveImplementationProfile = resolveImplementationProfile;
function resolveImplementationProfile(input) {
    switch (input.selectedAdapterId) {
        case 'react':
            return 'frontend-react';
        case 'nextjs':
            return 'frontend-nextjs';
        case 'angular':
            return 'frontend-angular';
        case 'vue':
            return 'frontend-vue';
        case 'nestjs':
            return input.apiStyleHint === 'rest' ? 'backend-nestjs-rest' : 'backend-nestjs';
        case 'express':
            return input.apiStyleHint === 'rest' ? 'backend-express-rest' : 'backend-express';
        case 'spring':
            return input.apiStyleHint === 'rest' ? 'backend-spring-rest' : 'backend-spring';
        case 'fastapi':
            return input.apiStyleHint === 'rest' ? 'backend-fastapi-rest' : 'backend-fastapi';
        case 'django':
            return input.apiStyleHint === 'rest' ? 'backend-django-rest' : 'backend-django';
        case 'flask':
            return input.apiStyleHint === 'rest' ? 'backend-flask-rest' : 'backend-flask';
        case 'dotnet':
            return input.apiStyleHint === 'rest' ? 'backend-dotnet-webapi' : 'backend-dotnet';
        case 'java':
            return 'backend-java';
        case 'python':
            return 'backend-python';
        case 'php':
            return 'backend-php';
        case 'laravel':
            return input.apiStyleHint === 'rest' ? 'backend-laravel-rest' : 'backend-laravel';
        case 'ruby_rails':
            return input.apiStyleHint === 'rest' ? 'backend-rails-rest' : 'backend-rails';
        case 'kotlin':
            return 'backend-kotlin';
        case 'kotlin_spring':
            return input.apiStyleHint === 'rest' ? 'backend-kotlin-spring-rest' : 'backend-kotlin-spring';
        case 'go':
            return 'backend-go';
        case 'node_typescript':
            return input.projectKinds?.includes('frontend') ? 'frontend-react' : 'backend-node-typescript';
        case 'other':
        case undefined:
            return 'other';
        default:
            return 'other';
    }
}
//# sourceMappingURL=implementationProfileResolution.js.map