import { MessageSystemType } from "../message-system/index.js"; import { MessageSystemService, MessageSystemServiceConfig } from "./message-system.service.js"; import { MonacoAdapterAction, MonacoAdapterActionCallbackConfig } from "./monaco-adapter.service-action.js"; export declare type actionCallback = () => void; /** * @alpha */ export declare const monacoAdapterId: string; /** * * @alpha * @remarks * A MessageSystemService for the Monaco Editor. */ export declare class MonacoAdapter extends MessageSystemService { private monacoModelValue; private schemaDictionary; private dataDictionary; private dictionaryId; constructor(config: MessageSystemServiceConfig); /** * Handles messages from the message system */ handleMessageSystem: (e: MessageEvent) => void; /** * Gets the action config */ getActionConfig: (messageSystemType: MessageSystemType) => MonacoAdapterActionCallbackConfig; /** * Adds all config options to registered actions */ private addConfigToActions; /** * Retrieve the Monaco Model value */ private getMonacoModelValue; /** * Determine the dictionary id */ private updateDictionaryIdAndNavigationConfigIdFromDataDictionary; /** * Update the Monaco Model value */ private updateMonacoModelValue; /** * Get the position inside the monaco model by dictionary id */ private updateMonacoModelPosition; } export { MonacoAdapterAction, MonacoAdapterActionCallbackConfig };