/** * 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 * as LexicalCodePrism from '@lexical/code-prism'; export type { SerializedCodeNode } from '@lexical/code-core'; export { $createCodeHighlightNode, $createCodeNode, $getCodeLineDirection, $getEndOfCodeInLine, $getFirstCodeNodeOfLine, $getLastCodeNodeOfLine, $getStartOfCodeInLine, $isCodeHighlightNode, $isCodeNode, CodeExtension, CodeHighlightNode, CodeNode, DEFAULT_CODE_LANGUAGE, getDefaultCodeLanguage, } from '@lexical/code-core'; /** @deprecated moved to `@lexical/code-prism` */ export declare const CODE_LANGUAGE_FRIENDLY_NAME_MAP: Record; /** @deprecated moved to `@lexical/code-prism` */ export declare const CODE_LANGUAGE_MAP: Record; /** @deprecated moved to `@lexical/code-prism` */ export declare const getCodeLanguageOptions: typeof LexicalCodePrism.getCodeLanguageOptions; /** @deprecated moved to `@lexical/code-prism` */ export declare const getCodeLanguages: () => Array; /** @deprecated moved to `@lexical/code-prism` */ export declare const getCodeThemeOptions: typeof LexicalCodePrism.getCodeThemeOptions; /** @deprecated moved to `@lexical/code-prism` */ export declare const getLanguageFriendlyName: typeof LexicalCodePrism.getLanguageFriendlyName; /** @deprecated renamed to `normalizeCodeLanguage` and moved to `@lexical/code-prism` */ export declare const normalizeCodeLang: typeof LexicalCodePrism.normalizeCodeLanguage; /** @deprecated moved to `@lexical/code-prism` */ export declare const normalizeCodeLanguage: typeof LexicalCodePrism.normalizeCodeLanguage; /** @deprecated moved to `@lexical/code-prism` */ export declare const PrismTokenizer: LexicalCodePrism.Tokenizer; /** @deprecated moved to `@lexical/code-prism` */ export declare const registerCodeHighlighting: typeof LexicalCodePrism.registerCodeHighlighting;