import { Typeface } from '../../../types/src/font-kit';

/**
 * Test if a specific font configuration is available using a test element
 */
export declare function testFontAvailability(context: Window, fontFamily: string): boolean;
/**
 * Check if a font family is already available in the browser/system fonts
 */
export declare function isFontFamilyAvailable(context: Window, fontFamily: string): boolean;
/**
 * Sort font variants by weight, style, then family
 * Order:
 * 1. Weight (least → bigger) starting from minimal available to biggest available
 * 2. Style order (Regular → Italic → Condensed → Condensed Italic)
 * 3. Family (last priority, stable order)
 */
export declare function sortTypefaceVariants(variants: Typeface[]): Typeface[];
/**
 * Get available variants for a browser/system font family
 * - Can add more weights and styles here if needed
 * - Weight can be in 100 - 900
 * - Style can be in 'normal', 'italic', 'oblique'
 */
export declare function getBrowserFontVariants(context: Window, fontFamily: string, weights?: number[], // 100 to 900
fontStyles?: string[]): Typeface[];
