Files
klz-cables.com/.pnpm-store/v10/files/05/bf0d91153d949c5db91c78510c6859f077b1f4f33b6135d73eca87b9874d7c42ddef5832c029c08bf89e2315f0a0c4adf4b6b5a1f5e55a8478fc9a42ba3d2e
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

43 lines
1.0 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.
*
* @flow strict
*/
/**
* LexicalDevtoolsCore
*/
import type {
LexicalCommand,
LexicalEditor,
LexicalNode,
} from 'lexical';
export type LexicalCommandLog = $ReadOnlyArray<
{index: number} | LexicalCommand<mixed> | {payload: mixed}
>;
export type CustomPrintNodeFn = (node: LexicalNode, obfuscateText?: boolean) => string;
declare export function generateContent(
editor: LexicalEditor,
commandsLog: $ReadOnlyArray<LexicalCommandLog>,
exportDOM: boolean,
customPrintNode?: CustomPrintNodeFn,
obfuscateText?: boolean,
): string;
declare export function registerLexicalCommandLogger(
editor: LexicalEditor,
setLoggedCommands: (
v: (oldValue: LexicalCommandLog) => LexicalCommandLog,
) => void,
): () => void;
declare export function useLexicalCommandsLog(
editor: LexicalEditor,
): LexicalCommandLog;