import React from 'react' ; import { IUiSettingsClient , SavedObjectsClientContract } from 'src/core/public' ; import { IStorageWrapper } from 'src/plugins/kibana_utils/public' ; export interface ICoreStartContext { appName : string ; uiSettings : IUiSettingsClient ; savedObjectsClient : SavedObjectsClientContract ; storage : IStorageWrapper ; } export const CoreStartContext = React . createContext < ICoreStartContext | null > ( null ) ; export const CoreStartContextProvider = CoreStartContext . Provider ;