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

28 lines
783 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>;
/**
* @deprecated use `render`
*/
declare const renderAsync: (element: React.ReactElement, options?: Options) => Promise<string>;
declare const plainTextSelectors: SelectorDefinition[];
export { Options, plainTextSelectors, render, renderAsync };