import { Disposable } from '@vscode-alt/monaco-editor/esm/vs/base/common/lifecycle'; import { ResolvedKeybindingItem } from '@vscode-alt/monaco-editor/esm/vs/platform/keybinding/common/resolvedKeybindingItem'; import { ApolloClient } from 'apollo-client'; import { InMemoryCache } from 'apollo-cache-inmemory'; import { IClientConfigurationService, IEnvironmentService, IKeybindingEditingService, ILifecycleService, IKeybindingService } from '@workbench-stack/core'; import { IClientFileService as IFileService, ITextFileService } from '@files-stack/core'; export declare class KeybindingsEditingService extends Disposable implements IKeybindingEditingService { client: ApolloClient; cache: InMemoryCache; private lifecycleService; private textFileService; private fileService; private configurationService; private environmentService; private keybindingService; _serviceBrand: undefined; private queue; private resource; constructor(client: ApolloClient, cache: InMemoryCache, lifecycleService: ILifecycleService, textFileService: ITextFileService, fileService: IFileService, configurationService: IClientConfigurationService, environmentService: IEnvironmentService, keybindingService: IKeybindingService); private postSetup; private getContent; addKeybinding(keybindingItem: ResolvedKeybindingItem, key: string, when: string | undefined): Promise; editKeybinding(keybindingItem: ResolvedKeybindingItem, key: string, when: string | undefined): Promise; resetKeybinding(keybindingItem: ResolvedKeybindingItem): Promise; removeKeybinding(keybindingItem: ResolvedKeybindingItem): Promise; private doEditKeybinding; private doRemoveKeybinding; private doResetKeybinding; private save; private getOptions; private updateKeybinding; private removeUserKeybinding; private removeDefaultKeybinding; private removeUnassignedDefaultKeybinding; private findUserKeybindingEntryIndex; private findUnassignedDefaultKeybindingEntryIndex; private asObject; private applyEditsToBuffer; private resolveModelReference; private resolveAndValidate; private parse; private getEmptyContent; }