/** * Status bar PNG renderer — uses satori (CSS flexbox engine) + resvg for * pixel-perfect parity with the HTML status bar used on the client. * * The layout code mirrors generateStatusBarHtml() from status-bar.ts exactly: * same flex containers, gaps, font sizes, and icon dimensions. satori measures * text widths using the actual SF Pro font metrics (via opentype.js), so * spacing is identical to what a browser produces. * * Fonts are decompressed from woff2 → TTF on first use (wawoff2) and cached. */ import type { StatusBarRenderOptions } from './status-bar.js'; /** * Render the status bar to a PNG buffer using satori (CSS flexbox) + resvg. * Produces pixel-perfect output matching the HTML status bar on the client. * * @param options Same options as generateStatusBarHtml() * @param targetWidth Physical pixel width for the output PNG (e.g. logical × outputScale) */ export declare function renderStatusBarBuffer(options: StatusBarRenderOptions, targetWidth: number): Promise;