import type { PluginInitializerContext } from 'kibana/public' ; import type { EMSClient } from '@elastic/ems-client' ; import { MapsEmsPlugin } from './plugin' ; import type { MapConfig } from '../config' ; import type { EMSSettings } from '../common' ; export function plugin ( initializerContext ) { return new MapsEmsPlugin ( initializerContext ) ; } export type { MapConfig , TileMapConfig } from '../config' ; export type { EMSConfig } from '../common' ; export interface MapsEmsPluginPublicSetup { } export interface MapsEmsPluginPublicStart { config : MapConfig ; createEMSSettings ( ) : EMSSettings ; createEMSClient ( ) : Promise < EMSClient > ; }