import { PluginInitializer , PluginInitializerContext , } from '../../../../src/core/public' ; import { ApmPlugin , ApmPluginSetup , ApmPluginStart } from './plugin' ; export interface ConfigSchema { serviceMapEnabled : boolean ; profilingEnabled : boolean ; ui : { enabled : boolean ; } ; } export const plugin = ( pluginInitializerContext ) => new ApmPlugin ( pluginInitializerContext ) ; export type { ApmPluginSetup , ApmPluginStart } ;