/** * Inlines `<style>`/linked CSS into element `style` attributes for maximum email-client * compatibility, via [juice](https://github.com/Automattic/juice). * * `juice` is an optional peer dependency, and this helper is published as its own subpath * (`@visulima/email/render/css-inline`). Importing this module resolves `juice` eagerly, so install * it (`pnpm add juice`) before importing — consumers who never inline CSS simply never import this * entry, which keeps `juice` out of edge/worker bundles. * @param html The HTML email. * @param options Options forwarded to `juice` (e.g. `preserveImportant`, `removeStyleTags`). * @returns The HTML with CSS inlined. * @throws {EmailError} When inlining fails. */ declare const inlineCss: (html: string, options?: Record) => string; export { inlineCss as default };