import Theme from "../reader/Theme"; import { FontType, Typefaces } from "../types/text"; import { XMLElementsJson } from "./xml"; export declare function parseTypefaces(el: XMLElementsJson): Typefaces; export declare function findFontType(text: string): FontType; export declare function isTypefacePlaceholder(typeface: string): boolean; export declare function findFontByTypeface(typeface: string, theme?: Theme): string | null;