Files
klz-cables.com/.pnpm-store/v10/files/5e/8150fd34152efb6a438fb866e82c7c77c20a8f12459d63626fefd64a29864c4396ed79ec46de7cf4efaaf184a3ab74755c8d8df04633abc1b9782ee9be25e5
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

25 lines
747 B
Plaintext

import { HtmlToTextOptions, SelectorDefinition } from 'html-to-text';
type Options = {
pretty?: boolean;
} & ({
plainText?: false;
} | {
plainText?: true;
/**
* These are options you can pass down directly to the library we use for
* converting the rendered email's HTML into plain text.
*
* @see https://github.com/html-to-text/node-html-to-text
*/
htmlToTextOptions?: HtmlToTextOptions;
});
declare const render: (element: React.ReactElement, options?: Options) => Promise<string>;
declare const renderAsync: (element: React.ReactElement, options?: Options) => Promise<string>;
declare const plainTextSelectors: SelectorDefinition[];
export { Options, plainTextSelectors, render, renderAsync };