export interface PdfrxLocalFontsOptions { /** Search the conventional font directories for the current OS. Default: true. */ systemDirectories?: boolean; /** Additional directories to search recursively. */ directories?: readonly string[]; /** Cache the font metadata index on disk. Default: true when `fontCache.directory` is set. */ indexCache?: boolean; } export interface PdfrxFontCacheOptions { /** Directory used for the local-font metadata index and registered font data. */ directory: string; /** Persist bytes supplied through `PdfrxEngine.addFontData`. Default: false. */ persistRegisteredFonts?: boolean; } export declare function isServerRuntime(): boolean; /** Conventional per-machine and per-user font directories. */ export declare function systemFontDirectories(): Promise; export declare class LocalFontManager { private readonly options; private readonly cache; private records; private persistQueue; constructor(options: PdfrxLocalFontsOptions, cache: PdfrxFontCacheOptions | undefined); loadRegistered(): Promise>; persistRegistered(face: string, data: Uint8Array, resolvedFace?: string): Promise; private persistRegisteredNow; resolve(query: { face: string; weight: number; italic: boolean; }): Promise<{ data: Uint8Array; resolvedFace: string; } | null>; private loadIndex; } //# sourceMappingURL=local-fonts.d.ts.map