import { PluginInitializerContext } from 'src/core/public' ; import { NewsfeedPublicPluginSetup , NewsfeedPublicPluginStart , NewsfeedPublicPlugin , } from './plugin' ; import { FetchResult , NewsfeedItem } from './types' ; import { NewsfeedApiEndpoint } from './lib/api' ; export type { NewsfeedPublicPluginSetup , NewsfeedPublicPluginStart , FetchResult , NewsfeedItem } ; export { NewsfeedApiEndpoint } ; export function plugin ( initializerContext ) { return new NewsfeedPublicPlugin ( initializerContext ) ; }