import type Font from './Font.js'; import type { ModulePublicRuntimeConfig } from '../../module.js'; export default class FontCollection { list: Font[]; constructor(); getKey(): string; add(fonts: Font[]): { name: string; value: string; }; getPreloadDescriptions(critical: boolean, crossorigin?: string): any[]; getStyleDescriptions(options: ModulePublicRuntimeConfig): Partial<{ key: string; }>[]; getNoScriptStyleDescriptions(): Partial<{ key: string; }>[]; get size(): number; toJSON(): { list: { family: string; style: string; weight: string | number; src: string; type: string; fallbackFamily: string[]; rootSelector: string; selector: string; media: string | undefined; }[]; }; }