import { PluginServiceFactory } from '../../../../presentation_util/public' ; import type { CustomIntegrationsPlatformService } from '../platform' ; see export type CustomIntegrationsPlatformServiceFactory = PluginServiceFactory < CustomIntegrationsPlatformService > ; /**
 * A factory to produce the `CustomIntegrationsPlatformService` with stubbed output.
 */ export const platformServiceFactory = ( ) => ( { getBasePath : ( ) => '/basePath' , getAbsolutePath : ( path ) : string => `https://example.com/basePath${ path }` , } ) ;