import { type FontConfig, type ResolvedFont } from 'janux'; type Fetch = (url: string, init?: RequestInit) => Promise; export declare function fontCacheDir(root: string): string; export declare function resolveFonts(root: string, configs: FontConfig[], fetchImpl?: Fetch): Promise; /** * The build's whole font output: the files, the finished CSS and the preload * list. Written once so that serving needs no resolver — which is what makes * `output: "static"` work at all, and what keeps `janux start` off the network. */ export declare function writeFontAssets(root: string, configs: FontConfig[], outDir: string, fetchImpl?: Fetch): Promise; /** What a built app hands the shell. Absent before the first build, and for an app with no fonts. */ export declare function builtFontAssets(outDir: string): { fontFaces?: string; fontPreloads?: string[]; }; /** A self-hosted font file straight out of the resolver's cache — dev has no build output to serve from. */ export declare function fontResponse(root: string, path: string): Response | undefined; export {};