/**
 * Metrics calculation for msdf bmfonts:
 *
 * https://github.com/mattdesl/bmfont2json
 * https://github.com/etiennepinchon/aframe-fonts
 *
 * @typedef {import("../types/bmFont.js").Char} Char
 *
 * @typedef {object} BMFontMetrics
 * @prop {(text: string, fontSize?: number) => number} measureWidth
 * @prop {(charCode: number) => Char} getCharByCode
 * @prop {(char: string) => Char} getChar
 * @prop {number} xHeight
 * @prop {number} capHeight
 * @prop {number} descent
 * @prop {import("../types/bmFont.js").Common} common
 *
 * @param {import("../types/bmFont.js").BMFont} bmFont
 * @returns {BMFontMetrics}
 */
export default function getMetrics(bmFont: import("../types/bmFont.js").BMFont): BMFontMetrics;
export const SDF_PADDING: 5;
/**
 * Metrics calculation for msdf bmfonts:
 *
 * https://github.com/mattdesl/bmfont2json
 * https://github.com/etiennepinchon/aframe-fonts
 */
export type Char = import("../types/bmFont.js").Char;
/**
 * Metrics calculation for msdf bmfonts:
 *
 * https://github.com/mattdesl/bmfont2json
 * https://github.com/etiennepinchon/aframe-fonts
 */
export type BMFontMetrics = {
    measureWidth: (text: string, fontSize?: number) => number;
    getCharByCode: (charCode: number) => Char;
    getChar: (char: string) => Char;
    xHeight: number;
    capHeight: number;
    descent: number;
    common: import("../types/bmFont.js").Common;
};
//# sourceMappingURL=bmFontMetrics.d.ts.map