/** A self-hosted text family a font pair may name. */ type PairFamily = 'Fraunces' | 'Jost' | 'Geist'; /** The family every glyph is drawn in, cut to exactly the characters the glyph module produces. */ export declare const SYMBOL_FAMILY = "Roxy Symbols"; /** The stylesheet that declares the symbol face, `dist/styles/fonts/{name}.css`. */ export declare const SYMBOL_STYLESHEET = "symbols"; /** One self-hosted `@font-face` source: a family plus the subset file that carries it. */ export interface SelfHostedFontFace { family: PairFamily | typeof SYMBOL_FAMILY; /** Path under `dist/styles/fonts/`, mirrored verbatim on jsDelivr. */ file: string; /** Matches the Google Fonts subset split this replaces, so a page still pays only for the script it renders. */ unicodeRange: string; } export type FontKey = 'fraunces-jost' | 'jost' | 'geist' | 'system'; /** One choosable font pair: the stack for body text and the stack for headings. */ export interface RoxyFont { name: string; sans: string; display: string; } /** The font pairs a widget, a report and a plugin may choose, one definition each, published as `fonts[]` in `components-catalog.json`. */ export declare const ROXY_FONTS: Record; /** The self-hosted families a font pair names in its two stacks; a system pair names none. */ export declare function fontFamilies(key: FontKey): PairFamily[]; /** The subset files a font pair loads, published beside the pair's stylesheet. */ export declare function fontFaces(key: FontKey): SelfHostedFontFace[]; /** The files of the symbol face, each with the code points it carries, so a page downloads only the files its glyphs need. */ export declare function symbolFontFaces(): SelfHostedFontFace[]; /** Minified `@font-face` rules for subset files served under `base`, the folder that holds each family's directory, one per subset so a page downloads only the script it renders. */ export declare function fontFaceCss(faces: SelfHostedFontFace[], base: string): string; export {};