export class ErrorFont {
    constructor(error: any);
    error: any;
    loadedName: string;
    missingFile: boolean;
    charsToGlyphs(): never[];
    encodeString(chars: any): any[];
    exportData(): {
        error: any;
    };
}
/**
 * 'Font' is the class the outside world should use, it encapsulate all the font
 * decoding logics whatever type it is (assuming the font type is supported).
 */
export class Font {
    constructor(name: any, file: any, properties: any, evaluatorOptions: any);
    name: any;
    psName: any;
    mimetype: string | null;
    disableFontFace: any;
    fontExtraProperties: any;
    loadedName: any;
    isType3Font: any;
    missingFile: boolean;
    cssFontInfo: any;
    _charsCache: any;
    _glyphCache: any;
    isSerifFont: boolean;
    isSymbolicFont: boolean;
    isMonospace: boolean;
    type: any;
    subtype: any;
    systemFontInfo: any;
    isInvalidPDFjsFont: boolean;
    fallbackName: any;
    differences: any;
    widths: any;
    defaultWidth: any;
    composite: any;
    cMap: any;
    capHeight: number;
    ascent: number;
    descent: number;
    lineHeight: number;
    fontMatrix: any;
    bbox: any;
    defaultEncoding: any;
    toUnicode: any;
    toFontChar: any[];
    cidEncoding: any;
    vertical: boolean | undefined;
    vmetrics: any;
    defaultVMetrics: any;
    data: Uint8Array<ArrayBuffer> | undefined;
    seacMap: any;
    get renderer(): any;
    exportData(): {
        data: any;
        extra?: undefined;
    } | {
        data: any;
        extra: any;
    };
    fallbackToSystemFont(properties: any): void;
    bold: boolean | undefined;
    italic: boolean | undefined;
    black: boolean | undefined;
    remeasure: boolean | undefined;
    checkAndRepair(name: any, font: any, properties: any): Uint8Array<ArrayBuffer>;
    isOpenType: boolean | undefined;
    lineGap: any;
    convert(fontName: any, font: any, properties: any): Uint8Array<ArrayBuffer>;
    /**
     * @private
     */
    private get _spaceWidth();
    /**
     * @private
     */
    private _charToGlyph;
    charsToGlyphs(chars: any): any;
    /**
     * Chars can have different sizes (depends on the encoding).
     * @param {String} a string encoded with font encoding.
     * @returns {Array<Array<number>>} the positions of each char in the string.
     */
    getCharPositions(chars: any): Array<Array<number>>;
    get glyphCacheValues(): any[];
    /**
     * Encode a js string using font encoding.
     * The resulting array contains an encoded string at even positions
     * (can be empty) and a non-encoded one at odd positions.
     * @param {String} a js string.
     * @returns {Array<String>} an array of encoded strings or non-encoded ones.
     */
    encodeString(str: any): Array<string>;
}
