import { Point2D } from './Point2D.entity'; export declare enum ShapeType { Circle = "circle", Rectangle = "rectangle" } export declare type ShapeBase = { x: number; y: number; width: number; height: number; }; export declare type Circle = ShapeBase & { type: ShapeType.Circle; }; export declare type Rectangle = ShapeBase & { type: ShapeType.Rectangle; }; export declare type Shape = Circle | Rectangle; export declare type ShapeWithoutPos = Omit; export declare const Shape: { toRectangle(container: ShapeBase): Rectangle; toCircle(container: ShapeBase): Circle; }; export declare type Line = { start: Point2D; end: Point2D; };