/**
 * Performs the topological operation of breaking the input set of 2D polygons and polylines into segments and rebuilding a new set of polygons from the non-intersecting areas.
 *
 * @since 4.31
 */
import type Polygon from "../Polygon.js";
import type { GeometryUnion } from "../types.js";

/**
 * Performs the topological lines to polygons operation.
 *
 * @param geometries - The set of input geometries.
 * All the geometries must have the same spatial reference.
 * @returns Returns the result of polygons.
 * @example
 * // Perform the lines to polygons operation
 * const polygons = linesToPolygonsOperator.executeMany([polyline1, polyline2]);
 */
export function executeMany(geometries: GeometryUnion[]): Polygon[];

/**
 * Indicates if the operator supports input geometries that contain curves.
 * The value will always be `true`.
 */
export const supportsCurves: boolean;