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

78 lines
1.5 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
*/
import type {
BaseSelection,
LexicalEditor,
RangeSelection,
LexicalNode,
} from 'lexical';
/*
* Rich Text
*/
declare export function $insertDataTransferForRichText(
dataTransfer: DataTransfer,
selection: BaseSelection,
editor: LexicalEditor,
): void;
declare export function $getHtmlContent(
editor: LexicalEditor,
selection?: BaseSelection,
): string | null;
declare export function $getLexicalContent(
editor: LexicalEditor,
): string | null;
declare export function $insertGeneratedNodes(
editor: LexicalEditor,
nodes: Array<LexicalNode>,
selection: BaseSelection,
): void;
/*
* Plain Text
*/
/*
* Export as JSON
*/
declare export function $insertDataTransferForPlainText(
dataTransfer: DataTransfer,
selection: RangeSelection,
): void;
interface BaseSerializedNode {
children?: Array<BaseSerializedNode>;
type: string;
version: number;
}
declare export function $generateJSONFromSelectedNodes<
SerializedNode: BaseSerializedNode,
>(
editor: LexicalEditor,
selection: BaseSelection | null,
): {
namespace: string,
nodes: Array<SerializedNode>,
};
declare export function $generateNodesFromSerializedNodes(
serializedNodes: Array<BaseSerializedNode>,
): Array<LexicalNode>;
declare export function copyToClipboard(
editor: LexicalEditor,
event: null | ClipboardEvent,
): Promise<boolean>;