interface LanguagesMain {
    $changeDiagnostics(id, delta): void;
    $changeLanguage(resource, languageId): Promise<void>;
    $clearDiagnostics(id): void;
    $emitCodeLensEvent(eventHandle, event?): void;
    $emitDocumentSemanticTokensEvent(eventHandle): void;
    $emitFoldingRangeEvent(handle, event?): void;
    $emitInlayHintsEvent(eventHandle, event?): void;
    $emitInlineValuesEvent(eventHandle, event?): void;
    $getLanguages(): Promise<string[]>;
    $registerCallHierarchyProvider(handle, selector): void;
    $registerCodeLensSupport(handle, pluginInfo, selector, eventHandle?): void;
    $registerCompletionSupport(handle, pluginInfo, selector, triggerCharacters, supportsResolveDetails): void;
    $registerDeclarationProvider(handle, pluginInfo, selector): void;
    $registerDefinitionProvider(handle, pluginInfo, selector): void;
    $registerDocumentColorProvider(handle, pluginInfo, selector): void;
    $registerDocumentDropEditProvider(handle, selector, metadata?): void;
    $registerDocumentFormattingSupport(handle, pluginInfo, selector): void;
    $registerDocumentHighlightProvider(handle, pluginInfo, selector): void;
    $registerDocumentLinkProvider(handle, pluginInfo, selector): void;
    $registerDocumentRangeSemanticTokensProvider(handle, pluginInfo, selector, legend): void;
    $registerDocumentSemanticTokensProvider(handle, pluginInfo, selector, legend, eventHandle): void;
    $registerEvaluatableExpressionProvider(handle, pluginInfo, selector): void;
    $registerFoldingRangeProvider(handle, pluginInfo, selector, eventHandle?): void;
    $registerHoverProvider(handle, pluginInfo, selector): void;
    $registerImplementationProvider(handle, pluginInfo, selector): void;
    $registerInlayHintsProvider(handle, pluginInfo, selector, displayName?, eventHandle?): void;
    $registerInlineCompletionsSupport(handle, selector): void;
    $registerInlineValuesProvider(handle, pluginInfo, selector): void;
    $registerLinkedEditingRangeProvider(handle, selector): void;
    $registerOnTypeFormattingProvider(handle, pluginInfo, selector, autoFormatTriggerCharacters): void;
    $registerOutlineSupport(handle, pluginInfo, selector, displayName?): void;
    $registerQuickFixProvider(handle, pluginInfo, selector, codeActionKinds?, documentation?): void;
    $registerRangeFormattingSupport(handle, pluginInfo, selector): void;
    $registerReferenceProvider(handle, pluginInfo, selector): void;
    $registerRenameProvider(handle, pluginInfo, selector, supportsResolveInitialValues): void;
    $registerSelectionRangeProvider(handle, pluginInfo, selector): void;
    $registerSignatureHelpProvider(handle, pluginInfo, selector, metadata): void;
    $registerTypeDefinitionProvider(handle, pluginInfo, selector): void;
    $registerTypeHierarchyProvider(handle, selector): void;
    $registerWorkspaceSymbolProvider(handle, pluginInfo): void;
    $removeLanguageStatus(handle): void;
    $setLanguageConfiguration(handle, languageId, configuration): void;
    $setLanguageStatus(handle, status): void;
    $unregister(handle): void;
}

Implemented by

Methods