Files
klz-cables.com/.pnpm-store/v10/files/66/8d8d55e033ec56118d5de4f503bb09eb39403de20e662b5ff9bd647bde19034d1d1d78dc923672e9d94d8870d8efbff389235554323677c131a47220bb5692
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

24 lines
814 B
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 { LexicalEditor, LexicalNode } from 'lexical';
import { CodeNode } from './CodeNode';
type TokenContent = string | Token | (string | Token)[];
export interface Token {
type: string;
alias: string | string[];
content: TokenContent;
}
export interface Tokenizer {
defaultLanguage: string;
tokenize(code: string, language?: string): (string | Token)[];
$tokenize(codeNode: CodeNode, language?: string): LexicalNode[];
}
export declare const PrismTokenizer: Tokenizer;
export declare function registerCodeHighlighting(editor: LexicalEditor, tokenizer?: Tokenizer): () => void;
export {};