/** Known symbol assets are not text typefaces; unknown families stay eligible. */ export declare function isKnownSymbolFontFamily(family: string): boolean; /** Words a family name carries for packaging rather than design: "Inter Display", "Avenir Web". */ export declare const FONT_DESCRIPTOR_WORDS: Set; /** Weight and style words a family name can carry: "Avenir Book", "Graphik Semibold". */ export declare const FONT_VARIANT_WORDS: Set; export declare const FONT_STYLE_WORDS: Set; export declare function stripCssQuotes(value: string): string; /** "InterDisplay-Bold", "'Inter Display'" → "inter display bold", "inter display": camel case split, punctuation to spaces, lower case. */ export declare function normalizeFontFamilyName(value: string): string; /** The key two family names share when they are the same typeface: Brand Studio's alias minus weight, style and packaging words ("Avenir Book" → "avenir"), stricter than the first-word alias. */ export declare function fontFamilyKey(family: string): string; export declare function getTypographyFonts(fonts: FontType[]): FontType[]; /** * Slugified family name, matching how `fontNameToCssVariable` derives a CSS var * (e.g. "DM Sans" → "dm-sans"), so a `--font-` var round-trips back to a * catalog family. */ export declare function slugifyFontFamily(family: string): string; /** * "DM Sans" → "--font-dm-sans". The CSS variable a `next/font` import exposes. */ export declare function fontNameToCssVariable(fontName: string): string; /** * Wrap a family in single quotes for `font-family` when it contains whitespace * (e.g. `Open Sans` → `'Open Sans'`); single-word families pass through. */ export declare function quoteFontFamily(family: string): string; /** * "DM Sans" → "dmSans". The JS const name for a `next/font` declaration. */ export declare function fontNameToVariableName(fontName: string): string; /** * Google Fonts CSS2 stylesheet URL for a family at the given weights (defaulting * to 400), with `display=swap`. */ export declare function buildGoogleFontsCssUrl(family: string, weights?: number[]): string; /** * "Brand Sans-Bold.woff2" → { family: "Brand Sans Bold", mimeType: "font/woff2" }. * The family is derived from the filename since Bedrock assets don't store one. */ export declare function describeFontFile(fileName: string): { family: string; mimeType: string; }; /** * The `format(...)` keyword for an @font-face src, from a font file extension * (Bedrock's `find` returns `fileExtension`, not a MIME type). */ export declare function fontFormatFromExtension(extension: string): string; /** The `format(...)` keyword for an @font-face src, from a font MIME type. */ export declare function fontFormatFromMimeType(mimeType: string): string; /** * The @font-face rule that makes a custom family renderable from its asset URL. */ export declare function buildFontFaceCss({ family, faceUrl, format, weight, style, }: { family: string; faceUrl: string; format: string; weight?: number; style?: "normal" | "italic"; }): string; export declare const escapeFontFamilyName: (fontFamily: string) => string;