import BrowserWindow from '../../../window/BrowserWindow.js'; /** * CSS Measurement Converter. */ export default class CSSMeasurementConverter { /** * Returns measurement in pixels. * * @param options Options. * @param options.window Owner window. * @param options.value Measurement (e.g. "10px", "10rem" or "10em"). * @param options.rootFontSize Root font size in pixels. * @param options.parentFontSize Parent font size in pixels. * @param [options.parentSize] Parent size in pixels. * @returns Measurement in pixels. */ static toPixels(options: { window: BrowserWindow; value: string; rootFontSize: string | number; parentFontSize: string | number; parentSize?: string | number | null; }): number | null; /** * Rounds the number with 4 decimals. * * @param value Value. * @returns Rounded value. */ static round(value: number): number; } //# sourceMappingURL=CSSMeasurementConverter.d.ts.map