import { PluginInitializerContext } from 'src/core/public' ; import { ReportingAPIClient } from './lib/reporting_api_client' ; import { ReportingPublicPlugin } from './plugin' ; import { getSharedComponents } from './shared' ; export interface ReportingSetup { usesUiCapabilities : ( ) => boolean ; components : ReturnType < typeof getSharedComponents > ; } export type ReportingStart = ReportingSetup ; export { ReportingAPIClient , ReportingPublicPlugin as Plugin } ; internal param { PluginInitializerContext } initializerContext returns { ReportingPublicPlugin } export function plugin ( initializerContext ) { return new ReportingPublicPlugin ( initializerContext ) ; }