import { PluginInitializerContext } from 'src/core/server' ; import { LicensingPlugin } from './plugin' ; export const plugin = ( context ) => new LicensingPlugin ( context ) ; export type { LicenseCheckState , LicenseType , LicenseStatus , LicenseFeature , PublicLicense , PublicFeatures , PublicLicenseJSON , LicenseCheck , ILicense , } from '../common/types' ; export { LICENSE_TYPE } from '../common/types' ; export type { FeatureUsageServiceSetup , FeatureUsageServiceStart } from './services' ; export type { ElasticsearchError , LicensingApiRequestHandlerContext , LicensingPluginSetup , LicensingPluginStart , } from './types' ; export { config } from './licensing_config' ; export type { CheckLicense } from './wrap_route_with_license_check' ; export { wrapRouteWithLicenseCheck } from './wrap_route_with_license_check' ;