@sussudio/platform
Version:
Internal APIs for VS Code's service injection the base services.
18 lines (16 loc) • 1.04 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 { IMenu, IMenuCreateOptions, IMenuService, MenuId } from './actions.mjs';
import { ICommandService } from '../../commands/common/commands.mjs';
import { IContextKeyService } from '../../contextkey/common/contextkey.mjs';
import { IStorageService } from '../../storage/common/storage.mjs';
export declare class MenuService implements IMenuService {
private readonly _commandService;
readonly _serviceBrand: undefined;
private readonly _hiddenStates;
constructor(_commandService: ICommandService, storageService: IStorageService);
createMenu(id: MenuId, contextKeyService: IContextKeyService, options?: IMenuCreateOptions): IMenu;
resetHiddenStates(ids?: MenuId[]): void;
}