@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
30 lines (28 loc) • 1.39 kB
text/typescript
/*---------------------------------------------------------------------------------------------
* 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 '@sussudio/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>;
}