/** * Represents a coordinate range in one dimension. * @member start the start of the range. * @member end the end of the range. */ export declare type Range = { start: number; end: number; }; /** * Represents a single point in two dimensions. * @member x coordinate in the x dimension. * @member y coordinate in the y dimension. */ export interface Point2D { x: number; y: number; svgProps?: { [key: string]: any; }; metadata?: { [key: string]: any; }; } /** * Represents a range in two dimensions. * @member x range in the x dimension. * @member y range in the y dimension. */ export declare type Range2D = { x: Range; y: Range; }; /** * Represents a selection range in two dimensions. * @member start the starting point of the selection. * @member end the ending point of the selection. */ export declare type Selection2D = { start: Point2D; end: Point2D; }; /** * Represents a two-dimensional size. * @member width the width of the object. * @member height the height of the object. */ export declare type Size = { width: number; height: number; };