function erroToMessage(erro) {
    return erro instanceof Error ? erro.message : 'Unknown error';
}
export const DetectorCleanArchMensagens = {
    padraoCleanArch: (padrao, confianca) => `Clean Architecture: ${padrao} (${confianca}% confidence)`,
    camadaDomain: (presente) => presente ? '[V] Domain layer detected' : '[X] Domain layer missing',
    camadaApplication: (presente) => presente ? '[V] Application layer detected' : '[X] Application layer missing',
    camadaInfrastructure: (presente) => presente ? '[V] Infrastructure layer detected' : '[X] Infrastructure layer missing',
    camadaPresentation: (presente) => presente ? '[V] Presentation layer detected' : '[X] Presentation layer missing',
    violacaoDependencia: (camada, dependencia) => `Violation: ${camada} depends on ${dependencia}. Clean Architecture requires dependencies pointing inward.`,
    recomendacaoUseCases: 'Add use-cases in the application layer to orchestrate business rules',
    recomendacaoEntities: 'Create rich domain entities with encapsulated business rules',
    recomendacaoRepository: 'Define repository interfaces in domain and implement in infrastructure',
    erroAnalisarCleanArch: (erro) => `Error analyzing Clean Architecture: ${erroToMessage(erro)}`
};
//# sourceMappingURL=detector-clean-arch-messages.js.map