import OlFeature from 'ol/Feature.js'; import OlGeomPoint from 'ol/geom/Point.js'; import OlGeomLine from 'ol/geom/LineString.js'; import { type Extent as OlExtent } from 'ol/extent.js'; /** * @param features the features to get the "properties" values from. * @param propertyKey the property key to get the value in the features. * @returns Distinct values of features for a given property's key. */ export declare const getDistinctFeaturesProperties: (features: OlFeature[], propertyKey: string) => unknown[]; /** * From points, create lines (0->1, 1->2, 2->3, etc.) * @param points points To create the line. * @param opt_onLineCreated Optional function to apply effect on each created * line. * @returns created lines from given points (0->1, 1->2, 2->3, etc.) */ export declare const getLinesBetweenPoints: (points: OlFeature[], opt_onLineCreated?: (line: OlFeature, startPoint: OlFeature, endPoint: OlFeature) => void) => OlFeature[]; /** * @returns The extent (not empty) of all given features. */ export declare const getFeaturesExtent: (features: OlFeature[]) => OlExtent | null;