import { type SugarElement } from '@ephox/sugar'; import type { CssPositionAdt } from './CssPosition'; declare const pointed: (point: CssPositionAdt, width: number, height: number) => BoxByPoint; export interface Rect { readonly x: number; readonly y: number; readonly width: number; readonly height: number; } declare const rect: (x: number, y: number, width: number, height: number) => Rect; export interface Bounds { readonly x: number; readonly y: number; readonly width: number; readonly height: number; readonly right: number; readonly bottom: number; } export interface BoxByPoint { readonly point: CssPositionAdt; readonly width: number; readonly height: number; } declare const bounds: (x: number, y: number, width: number, height: number) => Bounds; declare const box: (element: SugarElement) => Bounds; declare const absolute: (element: SugarElement) => Bounds; declare const constrain: (original: Bounds, constraint: Bounds) => Bounds; declare const constrainByMany: (original: Bounds, constraints: Bounds[]) => Bounds; declare const win: () => Bounds; export { pointed, rect, bounds, box, absolute, win, constrain, constrainByMany }; //# sourceMappingURL=Boxes.d.ts.map