import { CoreSetup , Plugin } from 'src/core/public' ; export const plugin = ( ) => new FooPlugin ( ) ; class FooPlugin implements Plugin { setup ( core ) { core . application . register ( { id : 'foo' , title : 'Foo app' , euiIconType : 'uiArray' , mount ( ) { return ( ) => null ; } , } ) ; } start ( ) { } }