/** * Segment shape for 2D collisions. Consists of two points, `a` and `b`. * */ declare class SegmentShape2D extends Shape2D { /** * Segment shape for 2D collisions. Consists of two points, `a` and `b`. * */ new(): SegmentShape2D; static "new"(): SegmentShape2D /** The segment's first point position. */ a: Vector2; /** The segment's second point position. */ b: Vector2; connect>(signal: T, method: SignalFunction): number; }