import type { VendoThemeFont } from "../../core/apps/index.js"; export interface EmbeddedFonts { /** The `.vendo/fonts.css` body; empty when nothing resolved. */ css: string; fonts: VendoThemeFont[]; /** Total font-file bytes inlined, before base64. */ bytes: number; /** One line per family that resolved or didn't — sync prints these. */ notes: string[]; } /** The families worth resolving: the head of each stack the theme names, since * the entries after it are the host's own fallbacks. * * Read off the theme DOCUMENT that is about to be written — never off a fresh * extraction. A host's pinned typeface survives reconciliation while the * app's own CSS says something else, so resolving from the extraction embedded * the family the host had deliberately rejected. */ export declare function themeFontFamilies(theme: unknown): string[]; /** `theme` is the VendoTheme document being persisted — the SAME object the * faces are then recorded on, so the sheet and the selection cannot disagree. */ export declare function embedHostFonts(root: string, theme: unknown): Promise;