export declare function toArrayBuffer(buffer: Buffer): ArrayBuffer; export interface FontTable { fontFamily: string; fullName: string; styleName: string; postScriptName: string; weight: number; italic: boolean; } export declare function extractFontTable(fontBuffer: ArrayBufferLike): FontTable; export declare function determineFontType(fontBuffer: ArrayBufferLike): string; /** * The font's TYPOGRAPHIC ascender as a fraction of the em (`OS/2.sTypoAscender / unitsPerEm`). * This is the metric InDesign uses for its "Ascent" first-baseline offset. It is NOT always equal * to the canvas `fontBoundingBoxAscent` (which follows `winAscent`/`hhea` and can be inflated — * e.g. DIN-Bold: typo 0.712em vs win 1.015em). Returns null if unreadable. */ export declare function typoAscentRatio(fontBuffer: ArrayBufferLike): number | null; //# sourceMappingURL=font.d.ts.map