import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'; /** * Registers a Kusto-specific action to close the IntelliSense suggestions popup. * * Note: * We register the action on the first cursor movement, not on editor creation, * because Monaco fires 'onDidCreateEditor' before the keybinding service is fully initialized. * Waiting for a cursor event guarantees that the editor is fully ready * and allows safe registration of actions with keybindings. */ export default class CaseInvertor { private editor; private actionsRegistered; private readonly ctrlKeyMod; constructor(editor: monaco.editor.IStandaloneCodeEditor); private registerUpperCaseHandler; private registerLowerCaseHandler; private isMac; }