Files
klz-cables.com/.pnpm-store/v10/files/4d/bcd396dee3d5e51451a4cab39a36f6b77f00058565afdb2f530ac3c7a4161ff056db26066b413d37eb2368163a0c5b6a67ecb7baa1c42d762c0b5a1494623d
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

33 lines
795 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.
*
* @flow strict
*/
import type {LinkAttributes} from '@lexical/link';
type ChangeHandler = (url: string | null, prevUrl: string | null) => void;
type LinkMatcherResult = {
attributes?: LinkAttributes,
index: number,
length: number,
text: string,
url: string,
};
export type LinkMatcher = (text: string) => LinkMatcherResult | null;
declare export function createLinkMatcherWithRegExp(
regExp: RegExp,
urlTransformer?: (text: string) => string,
): LinkMatcher;
declare export function AutoLinkPlugin(props: {
matchers: Array<LinkMatcher>,
onChange?: ChangeHandler,
}): React.Node;