// Shared HTML -> PDF rendering pipeline for @scribe.cool/core. // // Public surface consumed by reports (OPL-2598) and invoices (OPL-2602): // import { PDFRenderer, renderPdf, buildPrintCss } from "@scribe.cool/core/pdf"; // // This subpath is intentionally NOT re-exported from the package root: it pulls // in playwright-core (and, on serverless, @sparticuz/chromium), so only PDF // download paths should import it — mirroring the invoice app-renderer split. export { type PDFRenderOptions, type PlaywrightMargin, type PlaywrightPdfOptions, resolveMargin, toPdfOptions, } from "./options"; export { type BuildPrintCssOptions, buildPrintCss, type PageMargin, type PaperSize, PRINT_BASE_CSS, } from "./print-css"; export { type PDFRenderArgs, PDFRenderer, type PDFRendererConfig, type PDFRenderSecurityOptions, renderPdf, } from "./renderer"; export { detectRuntime, launchBrowser, PdfBrowserLaunchError, type PdfRuntimeKind, } from "./runtime";