/** * Google Fonts Integration for Thai Karaoke * * Provides easy selection of popular Thai fonts from Google Fonts */ /** * Available Thai fonts from Google Fonts */ export type ThaiGoogleFont = 'Kanit' | 'Prompt' | 'Anuphan' | 'Chakra Petch' | 'Sarabun'; /** * Font configurations with Google Fonts URLs */ export declare const THAI_FONTS: Record; /** * Get font configuration */ export declare function getFontConfig(fontName: ThaiGoogleFont): { name: string; family: string; googleFontsUrl: string; weights: number[]; fallback: string; }; /** * Get font family CSS string */ export declare function getFontFamily(fontName: ThaiGoogleFont): string; /** * Load Google Font dynamically * Injects tag into document head and applies to lyrics */ export declare function loadGoogleFont(fontName: ThaiGoogleFont): void; /** * Apply font to all lyric containers */ export declare function applyFontToLyrics(fontName: ThaiGoogleFont): void; /** * Check if a font name is valid Thai Google Font */ export declare function isValidThaiFont(fontName: string): fontName is ThaiGoogleFont; /** * Get all available Thai fonts */ export declare function getAvailableThaifonts(): ThaiGoogleFont[]; /** * Auto-load font from environment config */ export declare function autoLoadFontFromEnv(): void;