Files
klz-cables.com/.pnpm-store/v10/files/4d/f478745f0385c307c75233c2cbcf9d47c9b7fdaa677f99d997ed02f3e3c6985f1520ee0911ba2911004215a5b3152041f9c5753af7faefc09b42cbd73a1426
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

48 lines
2.3 KiB
Plaintext

/**
* 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 { CodeHighlightNode } from '@lexical/code';
import type { DOMConversionMap, DOMExportOutput, EditorConfig, LexicalEditor, LexicalNode, LexicalUpdateJSON, NodeKey, ParagraphNode, RangeSelection, SerializedElementNode, Spread, TabNode } from 'lexical';
import { ElementNode } from 'lexical';
export type SerializedCodeNode = Spread<{
language: string | null | undefined;
theme?: string | undefined;
}, SerializedElementNode>;
export declare const DEFAULT_CODE_LANGUAGE = "javascript";
export declare const getDefaultCodeLanguage: () => string;
/** @noInheritDoc */
export declare class CodeNode extends ElementNode {
/** @internal */
__language: string | null | undefined;
/** @internal */
__theme: string | undefined;
/** @internal */
__isSyntaxHighlightSupported: boolean;
static getType(): string;
static clone(node: CodeNode): CodeNode;
constructor(language?: string | null | undefined, key?: NodeKey);
afterCloneFrom(prevNode: this): void;
createDOM(config: EditorConfig): HTMLElement;
updateDOM(prevNode: this, dom: HTMLElement, config: EditorConfig): boolean;
exportDOM(editor: LexicalEditor): DOMExportOutput;
static importDOM(): DOMConversionMap | null;
static importJSON(serializedNode: SerializedCodeNode): CodeNode;
updateFromJSON(serializedNode: LexicalUpdateJSON<SerializedCodeNode>): this;
exportJSON(): SerializedCodeNode;
insertNewAfter(selection: RangeSelection, restoreSelection?: boolean): null | ParagraphNode | CodeHighlightNode | TabNode;
canIndent(): false;
collapseAtStart(): boolean;
setLanguage(language: string | null | undefined): this;
getLanguage(): string | null | undefined;
setIsSyntaxHighlightSupported(isSupported: boolean): this;
getIsSyntaxHighlightSupported(): boolean;
setTheme(theme: string | null | undefined): this;
getTheme(): string | undefined;
}
export declare function $createCodeNode(language?: string | null | undefined, theme?: string | null | undefined): CodeNode;
export declare function $isCodeNode(node: LexicalNode | null | undefined): node is CodeNode;