import type * as unifont from 'unifont'; import type { FontFileIdGenerator, Hasher } from '../definitions.js'; import type { Defaults, FontFileById, PreloadData, ResolvedFontFamily } from '../types.js'; import type { CollectedFontForMetrics } from './optimize-fallbacks.js'; export declare function collectFontAssetsFromFaces({ fonts, fontFileIdGenerator, family, fontFilesIds, collectedFontsIds, hasher, defaults, }: { fonts: Array; fontFileIdGenerator: FontFileIdGenerator; family: Pick; fontFilesIds: Set; collectedFontsIds: Set; hasher: Hasher; defaults: Pick; }): { fontFileById: FontFileById; preloads: PreloadData[]; collectedFontsForMetricsByUniqueKey: Map; };