function erroToMessage(erro) {
    return erro instanceof Error ? erro.message : 'Unknown error';
}
export const DetectorDistributedArchMensagens = {
    padraoDistribuido: (padrao, confianca) => `Distributed Architecture: ${padrao} (${confianca}% confidence)`,
    boundariesDetectados: (qtd, servicos) => `${qtd} service boundaries detected: ${servicos}`,
    mensageriaDetectada: (tipo) => `Messaging system detected: ${tipo}`,
    apiGatewayPresente: 'API Gateway present for request routing',
    serviceDiscoveryPresente: 'Service Discovery detected for service registration',
    containerizacaoPresente: 'Containerization (Docker) present',
    orquestracaoPresente: 'Orchestration (Kubernetes) present',
    semMensageria: 'Async communication not detected. Consider adding messaging (Kafka, RabbitMQ)',
    semGateway: 'Multiple services without API Gateway. Consider adding a gateway for unified routing',
    semContainerizacao: 'Services without containerization. Consider adding Docker for consistent deployment',
    erroAnalisarDistributedArch: (erro) => `Error analyzing Distributed Architecture: ${erroToMessage(erro)}`
};
//# sourceMappingURL=detector-distributed-arch-messages.js.map