import { IFeatureCollection, ILineString, IMultiLineString, IMultiPoint, IMultiPolygon, IPoint, IPolygon } from '../index.mjs'; /** * Deep copy function for TypeScript. * @param target Target value to be copied. * @see Source project, ts-deepcopy https://github.com/ykdr2017/ts-deepcopy * @see Code pen https://codepen.io/erikvullings/pen/ejyBYg */ export declare const deepCopy: (target: T) => T; /** Returns true if the input is an integer */ export declare const isInt: (n: number | string | boolean) => boolean; /** Returns true if the input is a float */ export declare const isFloat: (n: number | string | boolean) => boolean; /** * Convert a GeoJSON to an AVRO representation. A deep clone is returned, * leaving the original object intact. * @default namespace = 'eu.driver.model.geojson' */ export declare const geojsonToAvro: (geojson?: IFeatureCollection, namespace?: string) => { [key: string]: any; } | undefined; /** * Convert a GeoJSON geometry to an AVRO representation * @default namespace = 'eu.driver.model.geojson' */ export declare const geometryToAvro: (geometry?: IPoint | IMultiPoint | ILineString | IMultiLineString | IPolygon | IMultiPolygon, namespace?: string) => Record | undefined; /** Convert a flat object to an AVRO representation, where all numbers will either be int or double. */ export declare const mapToAvro: (props: { [key: string]: any; } | null | undefined) => { [key: string]: any; } | null | undefined;