//#region src/font-port.d.ts interface ProvidedFont { readonly family: string; readonly bold: boolean; readonly italic: boolean; readonly bytes: Uint8Array; } interface FontFace { readonly family: string; readonly bold: boolean; readonly italic: boolean; } interface FontSubstitution { readonly requestedFamily: string; readonly requestedBold: boolean; readonly requestedItalic: boolean; readonly reason: "missing-face" | "vendored-substitute"; readonly resolvedFamily: string; } interface FontRegistryOptions { readonly sourceFonts?: readonly ProvidedFont[]; readonly fonts?: readonly ProvidedFont[]; readonly substitutes?: "vendored" | "none"; readonly onSubstitution?: (substitution: FontSubstitution) => void; } //#endregion export { FontFace, FontRegistryOptions, FontSubstitution, ProvidedFont };