import { IDisposable } from '@vscode-alt/monaco-editor/esm/vs/base/common/lifecycle'; import { Event } from '@vscode-alt/monaco-editor/esm/vs/base/common/event'; import { ICommandRegistry, ICommandHandler, ICommandsMap, ICommand } from '@workbench-stack/core'; export declare class CommandsRegistry implements ICommandRegistry { private readonly _commands; private readonly _onDidRegisterCommand; readonly onDidRegisterCommand: Event; registerCommand(idOrCommand: string | ICommand, handler?: ICommandHandler): IDisposable; registerCommandAlias(oldId: string, newId: string): IDisposable; getCommand(id: string): ICommand | undefined; getCommands(): ICommandsMap; }