/**
 * Playwright Chromium bootstrap for server deploys.
 *
 * `inspect_artifact` and the artifact PDF/PNG export render through Playwright's
 * Chromium. A bare Node host (e.g. the Railway `node:20` image) ships neither the
 * Chromium browser nor the OS libraries it needs, so those tools fail with
 * "Install the Playwright Chromium runtime with: npx playwright install chromium".
 *
 * This ensures the runtime is present WITHOUT blocking server startup:
 *   - Opt-in via `STUDIOGRAPH_INSTALL_PLAYWRIGHT=1` (the deploy sets it; local
 *     `studiograph serve` stays lean and never downloads ~150MB unprompted).
 *   - Runs in the background after the server is already listening, so first
 *     requests aren't delayed; inspect/export light up a minute or so after boot.
 *   - `npx playwright install --with-deps chromium` is idempotent — it skips an
 *     already-downloaded browser and re-checks the apt deps (needs root, which
 *     Railway provides). Set `STUDIOGRAPH_PLAYWRIGHT_BROWSER_ONLY=1` to drop
 *     `--with-deps` when the OS libs are already baked into the image.
 *   - Point `PLAYWRIGHT_BROWSERS_PATH` at a persistent volume so the browser
 *     downloads once instead of on every cold boot.
 *
 * Best-effort throughout: any failure is logged and swallowed — the worst case is
 * the pre-existing "inspect unavailable" behavior, never a crashed boot.
 */
export declare function ensurePlaywrightChromium(log?: (message: string) => void): void;
