export interface IFontMetrics { ascent: number; descent: number; fontSize: number; } export declare class TextMetrics { static _fonts: { [font: string]: IFontMetrics; }; static METRICS_STRING: string; static BASELINE_SYMBOL: string; static BASELINE_MULTIPLIER: number; static HEIGHT_MULTIPLIER: number; private static __canvas; static measureFont(font: string): IFontMetrics; static get _canvas(): HTMLCanvasElement; }