import { CommandRegistry } from '@theia/core/lib/common/command'; import { Emitter } from '@theia/core/lib/common/event'; import { Disposable, DisposableCollection } from '@theia/core/lib/common/disposable'; import { ICommandEvent, ICommandService } from '@theia/monaco-editor-core/esm/vs/platform/commands/common/commands'; import { StandaloneCommandService } from '@theia/monaco-editor-core/esm/vs/editor/standalone/browser/standaloneServices'; import * as monaco from '@theia/monaco-editor-core'; export declare class MonacoCommandService implements ICommandService, Disposable { protected readonly commandRegistry: CommandRegistry; readonly _serviceBrand: undefined; protected readonly onWillExecuteCommandEmitter: Emitter; protected readonly onDidExecuteCommandEmitter: Emitter; protected readonly toDispose: DisposableCollection; protected delegate: StandaloneCommandService | undefined; constructor(commandRegistry: CommandRegistry); init(): void; dispose(): void; get onWillExecuteCommand(): monaco.IEvent; get onDidExecuteCommand(): monaco.IEvent; executeCommand(commandId: any, ...args: any[]): Promise; executeMonacoCommand(commandId: any, ...args: any[]): Promise; } //# sourceMappingURL=monaco-command-service.d.ts.map