import { PreferenceService } from '@theia/core/lib/common/preferences'; import { BackendApplicationContribution } from '@theia/core/lib/node'; import { PluginHostNavigatorState } from '../common/plugin-host-environment-preferences'; /** * Keeps {@link PluginHostNavigatorState} in sync with the navigator preference. * * `PreferenceService` has async dependencies and cannot be injected in * connection-scoped containers. This contribution runs in the root container * and mutates the shared state object by reference so that * `HostedPluginProcess` (connection-scoped) always sees the latest value. */ export declare class PluginHostNavigatorStateInitializer implements BackendApplicationContribution { protected readonly preferences: PreferenceService; protected readonly state: PluginHostNavigatorState; onStart(): void; } //# sourceMappingURL=plugin-host-navigator-state-initializer.d.ts.map