/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */
import type { CodeNode } from '@lexical/code-core';
import type { LexicalEditor, LexicalNode, NodeKey } from 'lexical';
export declare function isCodeLanguageLoaded(language: string): boolean;
export declare function loadCodeLanguage(language: string, editor?: LexicalEditor, codeNodeKey?: NodeKey): Promise<void> | undefined;
export declare function isCodeThemeLoaded(theme: string): boolean;
export declare function loadCodeTheme(theme: string, editor?: LexicalEditor, codeNodeKey?: NodeKey): Promise<void> | undefined;
export declare function getCodeLanguageOptions(): [string, string][];
export declare function getCodeThemeOptions(): [string, string][];
export declare function normalizeCodeLanguage(language: string): string;
export declare function $getHighlightNodes(codeNode: CodeNode, language: string): LexicalNode[];
