bpms_site/.svn/pristine/df/df0bb5edb3fe3ad391ac382bb6744f4afa2ebdbe.svn-base
2025-11-02 16:38:49 +03:30

10 lines
622 B
Plaintext

import { NextFontManifest } from '../../build/webpack/plugins/next-font-manifest-plugin';
/**
* Get hrefs for fonts to preload
* Returns null if there are no fonts at all.
* Returns string[] if there are fonts to preload (font paths)
* Returns empty string[] if there are fonts but none to preload and no other fonts have been preloaded
* Returns null if there are fonts but none to preload and at least some were previously preloaded
*/
export declare function getPreloadableFonts(nextFontManifest: NextFontManifest | undefined, filePath: string | undefined, injectedFontPreloadTags: Set<string>): string[] | null;