import { findFontFamiliesWithFeatureSettings } from './fontFeatureHelpers'; import type { Asset, AssetGraph } from 'assetgraph'; import type { FontFaceDeclaration } from 'font-snapper'; import type { TracedFontUsage } from './types/shared'; interface TextByPropsEntry { text: string; props: Record; htmlOrSvgAsset?: Asset; } interface AssetTextWithPropsEntry { htmlOrSvgAsset: Asset; textByProps: TextByPropsEntry[]; accumulatedFontFaceDeclarations: FontFaceDeclaration[]; fontFamiliesWithFeatureSettings: ReturnType; featureTagsByFamily: Map>; fontUsages: TracedFontUsage[]; } interface CollectTextsByPageOptions { text?: string; console?: Console | null; dynamic?: boolean; debug?: boolean; concurrency?: number; chromeArgs?: string[]; signal?: AbortSignal; } interface CollectTextsByPageResult { htmlOrSvgAssetTextsWithProps: AssetTextWithPropsEntry[]; fontFaceDeclarationsByHtmlOrSvgAsset: Map; subTimings: Record; } declare function collectTextsByPage(assetGraph: AssetGraph, htmlOrSvgAssets: Asset[], { text, console, dynamic, debug, concurrency, chromeArgs, signal, }?: CollectTextsByPageOptions): Promise; export = collectTextsByPage; //# sourceMappingURL=collectTextsByPage.d.ts.map