sussudio
Version:
An unofficial VS Code Internal API
23 lines (22 loc) • 1.56 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 { Event } from "../../../base/common/event.mjs";
import { IChannel, IServerChannel } from "../../../base/parts/ipc/common/ipc.mjs";
import { IExtensionRecommendationNotificationService, RecommendationsNotificationResult, RecommendationSource } from "../common/extensionRecommendations.mjs";
export declare class ExtensionRecommendationNotificationServiceChannelClient implements IExtensionRecommendationNotificationService {
private readonly channel;
readonly _serviceBrand: undefined;
constructor(channel: IChannel);
get ignoredRecommendations(): string[];
promptImportantExtensionsInstallNotification(extensionIds: string[], message: string, searchValue: string, priority: RecommendationSource): Promise<RecommendationsNotificationResult>;
promptWorkspaceRecommendations(recommendations: string[]): Promise<void>;
hasToIgnoreRecommendationNotifications(): boolean;
}
export declare class ExtensionRecommendationNotificationServiceChannel implements IServerChannel {
private service;
constructor(service: IExtensionRecommendationNotificationService);
listen(_: unknown, event: string): Event<any>;
call(_: unknown, command: string, args?: any): Promise<any>;
}