import type { FontDisplay, FontDisplayStrategy } from "./types.js"; /** * Generate preconnect link for font CDN */ export declare function generatePreconnectLink(url: string): string; /** * Generate DNS prefetch link */ export declare function generatePrefetchLink(url: string): string; /** * Generate prefetch link for font file */ export declare function generateFontPrefetchLink(url: string, type?: string): string; /** * Convert display strategy to CSS font-display value */ export declare function resolveDisplayValue(display?: FontDisplay, strategy?: FontDisplayStrategy): FontDisplay; /** * Generate Font Loading API code for advanced display control * This is used for runtime font loading with custom timing */ export declare function generateFontLoadingAPI(fontFamily: string, strategy: FontDisplayStrategy): string; /** * Generate CSS for font display with fallback */ export declare function generateDisplayCSS(fontFamily: string, display: FontDisplay, fallback?: string[]): string; //# sourceMappingURL=display-strategy.d.ts.map