export interface CellMetrics { /** CSS pixel width. */ w: number; /** CSS pixel height. */ h: number; /** Device pixel width (integer). */ pw: number; /** Device pixel height (integer). */ ph: number; } /** * Measure the dimensions of a single monospace cell by rendering 'M' * into a hidden span, then snapping to device pixel boundaries. */ export declare const CSS_GENERIC: Set; /** Quote font families for CSS font shorthand (canvas ctx.font). */ export declare function cssFontFamily(family: string): string; export declare function measureCell(fontFamily: string, fontSize: number, dpr?: number, advanceRatio?: number): CellMetrics; //# sourceMappingURL=measure.d.ts.map