// engine/architecture-pattern-detector.ts — Barrel + orchestrator (SPEC-033)
// Sub-modules: cell-data-bff-detector, actor-temporal-detector, monolith-composable-detector, ddd-detector
export { detectCellBased, detectDataMesh, detectBff, } from './architecture-pattern-detector/cell-data-bff-detector.js';
export { detectActorModel, detectTemporal, } from './architecture-pattern-detector/actor-temporal-detector.js';
export { detectModularMonolith, detectComposable, } from './architecture-pattern-detector/monolith-composable-detector.js';
export { detectDdd } from './architecture-pattern-detector/ddd-detector.js';
import { detectCellBased, detectDataMesh, detectBff, } from './architecture-pattern-detector/cell-data-bff-detector.js';
import { detectActorModel, detectTemporal, } from './architecture-pattern-detector/actor-temporal-detector.js';
import { detectModularMonolith, detectComposable, } from './architecture-pattern-detector/monolith-composable-detector.js';
/**
 * Detects all modern architecture patterns in the project.
 * Returns an array of detected patterns with confidence and indicators.
 */
export async function detectModernPatterns(projectPath) {
    const results = [];
    const [cellBased, dataMesh, bff, actorModel, temporal, modularMonolith, composable] = await Promise.all([
        detectCellBased(projectPath),
        detectDataMesh(projectPath),
        detectBff(projectPath),
        detectActorModel(projectPath),
        detectTemporal(projectPath),
        detectModularMonolith(projectPath),
        detectComposable(projectPath),
    ]);
    if (cellBased) {
        results.push(cellBased);
    }
    if (dataMesh) {
        results.push(dataMesh);
    }
    if (bff) {
        results.push(bff);
    }
    if (actorModel) {
        results.push(actorModel);
    }
    if (temporal) {
        results.push(temporal);
    }
    if (modularMonolith) {
        results.push(modularMonolith);
    }
    if (composable) {
        results.push(composable);
    }
    return results;
}
//# sourceMappingURL=architecture-pattern-detector.js.map