UNPKG

sussudio

Version:

An unofficial VS Code Internal API

21 lines (20 loc) 1.4 kB
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ import { INativeEnvironmentService } from "../../environment/common/environment.mjs"; import { IExtensionGalleryService, IExtensionManagementService } from "../../extensionManagement/common/extensionManagement.mjs"; import { ILogService } from "../../log/common/log.mjs"; import { ILanguagePackItem, LanguagePackBaseService } from "../common/languagePacks.mjs"; import { URI } from "../../../base/common/uri.mjs"; export declare class NativeLanguagePackService extends LanguagePackBaseService { private readonly extensionManagementService; private readonly logService; private readonly cache; constructor(extensionManagementService: IExtensionManagementService, environmentService: INativeEnvironmentService, extensionGalleryService: IExtensionGalleryService, logService: ILogService); getBuiltInExtensionTranslationsUri(id: string): Promise<URI | undefined>; getInstalledLanguages(): Promise<Array<ILanguagePackItem>>; private postInstallExtension; private postUninstallExtension; update(): Promise<boolean>; }