/**
 * GlyfTable object represents a glyf table containing glyph information:
 *  - glyph header (xMin, yMin, xMax, yMax);
 *  - contours if any;
 *  - components if the glyph is a composite.
 *
 * It's possible to re-scale each glyph in order to have a new font which
 * exactly fits an other one: the goal is to be able to build some substitution
 * font for well-known fonts (Myriad, Arial, ...).
 *
 * A full description of glyf table can be found here
 * https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6glyf.html
 */
export class GlyfTable {
    constructor({ glyfTable, isGlyphLocationsLong, locaTable, numGlyphs }: {
        glyfTable: any;
        isGlyphLocationsLong: any;
        locaTable: any;
        numGlyphs: any;
    });
    glyphs: Glyph[];
    getSize(): any;
    write(): {
        isLocationLong: boolean;
        loca: Uint8Array<ArrayBuffer>;
        glyf: Uint8Array<ArrayBuffer>;
    };
    scale(factors: any): void;
}
declare class Glyph {
    static parse(pos: any, glyf: any): Glyph;
    constructor({ header, simple, composites }: {
        header?: null | undefined;
        simple?: null | undefined;
        composites?: null | undefined;
    });
    header: any;
    simple: any;
    composites: any;
    getSize(): any;
    write(pos: any, buf: any): number;
    scale(factor: any): void;
}
export {};
