import type { FontFamilyDef } from "../types"; export type FontRole = "heading" | "body"; export type FontSource = "registry" | "google"; export interface ResolvedFontToken { family: string; stack: string; source: FontSource; } export interface FontFaceCssOptions { display?: "auto" | "block" | "swap" | "fallback" | "optional"; } /** Preserve the public preset-only resolver used by existing consumers. */ export declare function resolveFontFamily(value: string, role: FontRole): string; /** Resolve registry IDs/names before presets and Google fallback. */ export declare function resolveFontToken(value: string, role: FontRole, registry?: readonly FontFamilyDef[]): ResolvedFontToken; /** Build deterministic, validated font-face CSS from user-authored theme data. */ export declare function fontFaceCss(families: readonly FontFamilyDef[] | undefined, options?: FontFaceCssOptions): string; //# sourceMappingURL=fontFaces.d.ts.map