import { StartServicesAccessor } from 'src/core/server' ; import { LicensingPluginStart } from '../types' ; import { FeatureUsageServiceSetup } from '../services' ; import { registerInfoRoute } from './info' ; import { registerFeatureUsageRoute } from './feature_usage' ; import { registerNotifyFeatureUsageRoute , registerRegisterFeatureRoute } from './internal' ; import { LicensingRouter } from '../types' ; export function registerRoutes ( router , featureUsageSetup , getStartServices ) { registerInfoRoute ( router ) ; registerFeatureUsageRoute ( router , getStartServices ) ; registerRegisterFeatureRoute ( router , featureUsageSetup ) ; registerNotifyFeatureUsageRoute ( router ) ; }