import { PuppeteerLaunchOptions, Browser } from 'puppeteer'; export declare const DEFAULT_PUPPETEER_OPTIONS: PuppeteerLaunchOptions; export declare const launchBrowser: (puppeteerOptions?: PuppeteerLaunchOptions | undefined) => Promise; /** * Lazily launches a shared Puppeteer Browser. Options are only honored on the * first call; subsequent calls return the cached instance. For caller-owned * lifecycle, use the `PdfGenerator` class instead. */ export declare const createBrowser: (puppeteerOptions?: PuppeteerLaunchOptions | undefined) => Promise; /** * Close the shared Puppeteer Browser created by `createBrowser` / `generatePdf`. * Must be called once you are done generating PDFs, otherwise the Node process * will not exit. */ export declare const closeBrowser: () => Promise;