import { CapabilitiesResolver } from '../resolve_capabilities' ; import { InternalHttpServiceSetup } from '../../http' ; import { registerCapabilitiesRoutes } from './resolve_capabilities' ; export function registerRoutes ( http , resolver ) { const router = http . createRouter ( '' ) ; registerCapabilitiesRoutes ( router , resolver ) ; }