import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service"; import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service"; import { ResolvedKeybindingItem } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/resolvedKeybindingItem"; import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service"; import { IUserDataProfileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/userDataProfile/common/userDataProfile.service"; import { IKeybindingEditingService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/keybinding/common/keybindingEditing.service"; export declare class KeybindingsEditingService extends Disposable implements IKeybindingEditingService { private readonly textModelResolverService; private readonly textFileService; private readonly fileService; private readonly userDataProfileService; _serviceBrand: undefined; private queue; constructor(textModelResolverService: ITextModelService, textFileService: ITextFileService, fileService: IFileService, userDataProfileService: IUserDataProfileService); 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 updateKeybinding; private removeUserKeybinding; private removeDefaultKeybinding; private removeUnassignedDefaultKeybinding; private findUserKeybindingEntryIndex; private findUnassignedDefaultKeybindingEntryIndex; private asObject; private areSame; private applyEditsToBuffer; private resolveModelReference; private resolveAndValidate; private parse; private getEmptyContent; }