import { GeometryType, Geometry, Polygon, MultiSurface } from "./internal"; /** * A restricted form of MultiSurface where each Surface in the collection must * be of type Polygon. */ export declare class MultiPolygon extends MultiSurface { constructor(); constructor(hasZ: boolean, hasM: boolean); constructor(multiPolygon: MultiPolygon); constructor(points: Array); constructor(type: GeometryType, hasZ: boolean, hasM: boolean); /** * Get the polygons * @return polygons */ get polygons(): Array; /** * Set the polygons * @param polygons polygons */ set polygons(polygons: Array); /** * Add a polygon * @param polygon polygon */ addPolygon(polygon: Polygon): void; /** * Add polygons * @param polygons polygons */ addPolygons(polygons: Array): void; /** * Get the number of polygons * @return number of polygons */ numPolygons(): number; /** * Returns the Nth polygon * @param n nth polygon to return * @return polygon */ getPolygon(n: number): Polygon; /** * {@inheritDoc} */ copy(): Geometry; }