import type { Details, NodeId } from '../types/core.js'; import type { FeatureCollectionType, FeatureType, Polygon, Position } from '../types/geojson.js'; /** * **Important**: While the suffix can be any length, it is strongly recommended to use * suffixes of at least 8 characters to ensure uniqueness and avoid collisions. * * @pattern ^ar_[A-Za-z0-9_-]+$ */ export type AreaId = string; export type AreaProperties = { id: AreaId; externalId?: string; details?: Details; /** * The center of mass of this area. */ center?: Position; /** * A list of node IDs which can be used to navigate to this area. */ destinationNodes?: NodeId[]; }; export type Area = { type: FeatureType; geometry: Polygon; properties: AreaProperties; }; export type AreaCollection = { type: FeatureCollectionType; features: Area[]; }; //# sourceMappingURL=area.d.ts.map