import type { OfficeFileViewerFontOptions, OfficeFontResolution, OfficeThemeFontScheme } from './types'; /** 解析源字体与回退链。 */ export declare function resolveOfficeFont(requestedFamily?: string, options?: OfficeFileViewerFontOptions): OfficeFontResolution; /** 仅返回适合直接写入渲染样式的 CSS 字体链。 */ export declare function resolveOfficeFontFamily(requestedFamily?: string, options?: OfficeFileViewerFontOptions): string | undefined; /** 将 PPTX 主题字体标记还原为主题中声明的源字体。 */ export declare function resolveOfficeThemeFontFamily(typeface: string | undefined, fontScheme?: OfficeThemeFontScheme): string | undefined; /** 从 Office 字体声明的 PANOSE 值读取基础字重。 */ export declare function resolveOfficePanoseFontWeight(panose?: string): number | undefined; /** 在格式未保存字体字重元数据时,从字体名称的显式后缀推断基础字重。 */ export declare function inferOfficeFontBaseWeight(fontFamily?: string): number | undefined; /** 在保留源字体基础字重的前提下应用 Office 粗体修饰。 */ export declare function resolveOfficeCssFontWeight(baseWeight: number | undefined, bold: boolean | undefined, fontFamily?: string): number;