import { action } from '@storybook/addon-actions' ; import { PluginServiceFactory } from '../types' ; import { SharedUXPlatformService } from '../platform' ; /**
 * A factory function for creating a Storybook-based implementation of `SharedUXPlatformService`.
 */ export type PlatformServiceFactory = PluginServiceFactory < SharedUXPlatformService , { } > ; /**
 * A factory function for creating a Storybook-based implementation of `SharedUXPlatformService`.
 */ export const platformServiceFactory = ( ) => ( { setIsFullscreen : action ( 'setIsChromeVisible' ) , } ) ;