import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service"; import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service"; import { IEnvironmentVariableCollectionWithPersistence } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/common/environmentVariable"; import { IEnvironmentVariableService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/terminal/common/environmentVariable.service"; import { IMergedEnvironmentVariableCollection } from "@codingame/monaco-vscode-xterm-common/vscode/vs/platform/terminal/common/environmentVariable"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; /** * Tracks and persists environment variable collections as defined by extensions. */ export declare class EnvironmentVariableService extends Disposable implements IEnvironmentVariableService { private readonly _extensionService; private readonly _storageService; readonly _serviceBrand: undefined; collections: Map; mergedCollection: IMergedEnvironmentVariableCollection; private readonly _onDidChangeCollections; get onDidChangeCollections(): Event; constructor(_extensionService: IExtensionService, _storageService: IStorageService); set(extensionIdentifier: string, collection: IEnvironmentVariableCollectionWithPersistence): void; delete(extensionIdentifier: string): void; private _updateCollections; private _persistCollectionsEventually; protected _persistCollections(): void; private _notifyCollectionUpdatesEventually; protected _notifyCollectionUpdates(): void; private _resolveMergedCollection; private _invalidateExtensionCollections; }