import type { Font } from '@pdfme/common'; export declare const NOTO_CACHE_FILE: string; export type ExplicitFontSourceKind = 'localPath' | 'url' | 'dataUri' | 'inlineBytes' | 'invalid'; export type ExplicitFontRemoteProvider = 'genericPublic' | 'googleFontsAsset' | 'googleFontsStylesheet'; export interface ExplicitFontSourceDiagnosis { fontName: string; kind: ExplicitFontSourceKind; provider?: ExplicitFontRemoteProvider; path?: string; resolvedPath?: string; exists?: boolean; url?: string; mediaType?: string; formatHint?: string | null; supportedFormat?: boolean; needsNetwork: boolean; dataType?: string; } interface ResolveFontOptions { fontArgs?: string[]; hasCJK: boolean; noAutoFont: boolean; verbose: boolean; hasExplicitFontConfig?: boolean; } export declare function downloadNotoSansJP(verbose: boolean): Promise; export declare function parseCustomFonts(fontArgs: string[]): Font; export declare function analyzeExplicitFontRecord(fontRecord: Record, templateDir?: string): { sources: ExplicitFontSourceDiagnosis[]; issues: string[]; warnings: string[]; }; export declare function normalizeExplicitFontOption(jobFont: unknown, templateDir?: string): Promise; export declare function resolveFont(options: ResolveFontOptions): Promise; export {};