import { InternalCoreSetup , InternalCoreStart } from '../internal_types' ; import { PluginsServiceSetup , PluginsServiceStart , UiPlugins } from '../plugins' ; import { InternalRenderingServiceSetup } from '../rendering' ; internal deprecated export type LegacyVars = Record < string , any > ; type LegacyCoreSetup = InternalCoreSetup & { plugins : PluginsServiceSetup ; rendering : InternalRenderingServiceSetup ; } ; type LegacyCoreStart = InternalCoreStart & { plugins : PluginsServiceStart ; } ; internal deprecated export interface LegacyConfig { get < T > ( key ? ) : T ; has ( key ) : boolean ; set ( key , value ) : void ; set ( config ) : void ; } public deprecated export interface LegacyServiceSetupDeps { core : LegacyCoreSetup ; plugins : Record < string , unknown > ; uiPlugins : UiPlugins ; } public deprecated export interface LegacyServiceStartDeps { core : LegacyCoreStart ; plugins : Record < string , unknown > ; } internal deprecated export interface LegacyServiceSetupConfig { legacyConfig : LegacyConfig ; settings : LegacyVars ; }