import { MapFeature } from '../models/models.mapFeature'; /** * Returns the unique identifier for a GeoJSON feature. * * By default, uses the RFC 7946 standard top-level "id" property. * If a custom property name is provided, checks that property in both the top-level and the properties object. * Throws an error if no identifier is found. * * @param {MapFeature} feature - The GeoJSON feature object. * @param {string} [featureIdProperty='id'] - The property name to use for the identifier (defaults to "id"). * @returns {string | number} The feature identifier if found. * @throws {Error} If the feature does not have an identifier. */ export declare function getFeatureId(feature: MapFeature, featureIdProperty?: string): string | number;