import Vec2 from '../maths/vec2/type' import Geom2 from '../geometries/geom2/type' export default polygon export interface PolygonOptions { points: Array | Array> paths?: Array | Array> orientation?: 'counterclockwise' | 'clockwise' } declare function polygon(options: PolygonOptions): Geom2