import { Layout } from '../../layout.js'; import { BorderRadiusConfig } from './config.js'; import { BorderRadiusStyleParser } from './parser.js'; export declare abstract class BorderRadiusMeasurer { /** * Measure the border radius of an element. * @param element the target element * @param layout the current layout of the element */ abstract measure(element: HTMLElement, layout: Layout): BorderRadiusConfig; } /** * A {@link BorderRadiusMeasurer} that measures the border radius of an element * by parsing the computed style of the element via `window.getComputedStyle`. */ export declare class ComputedStyleBorderRadiusMeasurer implements BorderRadiusMeasurer { protected parser: BorderRadiusStyleParser; constructor(parser: BorderRadiusStyleParser); measure(element: HTMLElement, layout: Layout): BorderRadiusConfig; } //# sourceMappingURL=measurer.d.ts.map