import { ReactElement } from 'react';

/**
 * Render a GoldenChart element to a standalone SVG string — no DOM, no browser.
 * This is the seam the MCP server and any server-side export build on. The
 * vibe's font is embedded as `@font-face` so the SVG renders identically in a
 * headless rasterizer with no installed/network fonts.
 *
 * The element must render a bare `<svg>` root (pass `bare` to the chart or
 * `Surface`); otherwise the Tailwind wrapper `<div>` leaks into the output.
 */
declare function renderToSVGString(element: ReactElement): string;

export { renderToSVGString };
