/** * Google Font metadata structure */ interface GoogleFontMetadata { weights: string[]; styles: string[]; subsets: string[]; axes?: Array<{ tag: string; min: number; max: number; defaultValue: number; }>; } /** * Type for the font data JSON */ type FontDataMap = { [fontFamily: string]: GoogleFontMetadata; }; declare const googleFontsMetadata: FontDataMap; /** * Get metadata for a specific Google Font */ export declare function getFontMetadata(fontFamily: string): GoogleFontMetadata | undefined; /** * Check if a font exists in Google Fonts */ export declare function isFontAvailable(fontFamily: string): boolean; /** * Get all available Google Fonts */ export declare function getAllFontFamilies(): string[]; /** * Validate font weights against available weights */ export declare function validateWeights(fontFamily: string, requestedWeights: number[] | "variable"): string[]; /** * Normalize subsets (TypeScript types ensure validity at compile-time) */ export declare function validateSubsets(fontFamily: string, requestedSubsets: string[]): string[]; /** * Normalize styles (TypeScript types ensure validity at compile-time) */ export declare function validateStyles(fontFamily: string, requestedStyles: string[]): string[]; export { googleFontsMetadata }; //# sourceMappingURL=metadata.d.ts.map