import { KibanaPluginServiceFactory } from '../../../../presentation_util/public' ; import type { CustomIntegrationsPlatformService } from '../platform' ; import type { CustomIntegrationsStartDependencies } from '../../types' ; see export type CustomIntegrationsPlatformServiceFactory = KibanaPluginServiceFactory < CustomIntegrationsPlatformService , CustomIntegrationsStartDependencies > ; /**
 * A factory to produce the `CustomIntegrationsPlatformService` for use in Kibana.
 */ export const platformServiceFactory = ( { coreStart , } ) => ( { getBasePath : coreStart . http . basePath . get , getAbsolutePath : ( path ) : string => coreStart . http . basePath . prepend ( `${ path }` ) , } ) ;