import { SharedUXPluginStartDeps } from '../../types' ; import { KibanaPluginServiceFactory } from '../types' ; import { SharedUXPlatformService } from '../platform' ; /**
 * A factory function for creating a Kibana-based implementation of `SharedUXPlatformService`.
 */ export type PlatformServiceFactory = KibanaPluginServiceFactory < SharedUXPlatformService , SharedUXPluginStartDeps > ; /**
 * A factory function for creating a Kibana-based implementation of `SharedUXPlatformService`.
 */ export const platformServiceFactory = ( { coreStart } ) => ( { setIsFullscreen : ( isVisible ) => coreStart . chrome . setIsVisible ( isVisible ) , } ) ;