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

30 lines
952 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 { AutoLinkAttributes } from '@lexical/link';
import type { JSX } from 'react';
type ChangeHandler = (url: string | null, prevUrl: string | null) => void;
type LinkMatcherResult = {
attributes?: AutoLinkAttributes;
index: number;
length: number;
text: string;
url: string;
};
export type LinkMatcher = (text: string) => LinkMatcherResult | null;
export declare function createLinkMatcherWithRegExp(regExp: RegExp, urlTransformer?: (text: string) => string): (text: string) => {
index: number;
length: number;
text: string;
url: string;
} | null;
export declare function AutoLinkPlugin({ matchers, onChange, }: {
matchers: Array<LinkMatcher>;
onChange?: ChangeHandler;
}): JSX.Element | null;
export {};