import { NonConstructiable } from '../foundation'; import { Point } from './point'; export interface Size { readonly width: number; readonly height: number; } export declare class Size extends NonConstructiable { static max(lhs: Size, rhs: Size): Size; static zero: Size; static fromWH(width: number, height: number): Size; static add(size: Size, acc: Point): Size; static eq(lhs: Size, rhs: Size): boolean; static isZero(size: Size): boolean; static clone({ width, height }: Size): Size; static contains(size: Size, offset: Point): boolean; static scale(size: Size, scale: number): Size; }