import { Observable } from 'rxjs' ; import { CoreSetup , SharedGlobalConfig } from 'opensearch-dashboards/server' ; import { registerValueSuggestionsRoute } from './value_suggestions_route' ; export function registerRoutes ( { http } , config$ ) { const router = http . createRouter ( ) ; registerValueSuggestionsRoute ( router , config$ ) ; }