import type { SpatialObject } from '../core/types.js'; export interface ImportResult { objects: SpatialObject[]; /** Features or rows that could not be used, with why (1-based row/feature numbers). */ skipped: Array<{ index: number; reason: string; }>; } /** A FeatureCollection, a Feature or a bare Geometry. Ids come from `idProperty`, then `feature.id`, then a counter. */ export declare function objectsFromGeoJSON(value: unknown, options?: { idProperty?: string; idPrefix?: string; }): ImportResult; /** Rows with latitude/longitude columns → points. Numbers and booleans in text cells become real values. */ export declare function objectsFromRows(rows: Array>, options: { latitude: string; longitude: string; id?: string; idPrefix?: string; }): ImportResult; /** Best guess at which columns hold latitude, longitude and an id. The application should let the user correct it. */ export declare function guessCoordinateColumns(headers: string[]): { latitude?: string; longitude?: string; id?: string; };