import { a as VibeConfig } from './vibe-lqnEjG15.js';

/** Family name → base64-encoded subsetted TTF. */
declare const FONT_TTF_BASE64: Record<string, string>;
/** Pull the first family name out of a CSS font-family stack, unquoted. */
declare function primaryFamily(fontFamily: string): string;
/** The bundled font for a font-family stack, or undefined if none is bundled. */
declare function bundledFontFor(fontFamily: string): {
    family: string;
    ttfBase64: string;
} | undefined;
/**
 * The single source of truth for the `@font-face` rule that makes an SVG
 * self-contained. Used by the headless renderer and the `goldenchart/fonts`
 * opt-in helper so both emit byte-identical CSS.
 */
declare function fontFaceCss(font: {
    family: string;
    ttfBase64: string;
}): string;

/**
 * The `@font-face` CSS for a vibe's bundled font, or `undefined` if the vibe
 * uses a system font. Inject the returned string into your document (or an SVG
 * `<style>`) to make a browser-rendered chart self-contained.
 */
declare function fontFaceFor(vibe?: VibeConfig): string | undefined;

export { FONT_TTF_BASE64, bundledFontFor, fontFaceCss, fontFaceFor, primaryFamily };
