import { Geometry, Polygon, MultiPolygon, Feature, FeatureCollection, SketchGeometryTypes } from "../types/index.js"; /** Helper to convert a Feature or a FeatureCollection to a Feature array */ export declare function toFeatureArray(input: Feature | FeatureCollection): Feature[]; export declare function toFeaturePolygonArray(input: Feature | FeatureCollection): Feature[]; /** * Returns a Feature with given features geometry and properties. Reasonable defaults are given for properties not provided * Default geometry is a square from 0,0 to 1,1 */ export declare const genFeature: (options?: { feature?: Feature; name?: string; id?: string; }) => Feature; /** * Given array of features, return a feature collection with given properties. * Generates reasonable default values for any properties not passed in * The geometry type of the returned collection will match the one passed in * Properties of features are retained */ export declare const genFeatureCollection: (features: Feature[], options?: { name?: string; id?: string; }) => FeatureCollection;