import{geometries as r}from"./types.js";export function geojson(r){var o={};return r.forEach((function(r){!function(r,o){for(var n in o)r[n]=o[n]}(o,r.properties)})),obj(o)}export function obj(o){var n={},e=[];for(var t in o)n[t]=typeof o[t];for(var f in n)e.push({name:f,type:r[n[f]]});return e}