import { AnomalySwimlaneEmbeddableFactory } from './anomaly_swimlane' ; import type { MlCoreSetup } from '../plugin' ; import type { EmbeddableSetup } from '../../../../../src/plugins/embeddable/public' ; import { AnomalyChartsEmbeddableFactory } from './anomaly_charts' ; export * from './constants' ; export * from './types' ; export function registerEmbeddables ( embeddable , core ) { const anomalySwimlaneEmbeddableFactory = new AnomalySwimlaneEmbeddableFactory ( core . getStartServices ) ; embeddable . registerEmbeddableFactory ( anomalySwimlaneEmbeddableFactory . type , anomalySwimlaneEmbeddableFactory ) ; const anomalyChartsFactory = new AnomalyChartsEmbeddableFactory ( core . getStartServices ) ; embeddable . registerEmbeddableFactory ( anomalyChartsFactory . type , anomalyChartsFactory ) ; }