import { BaseNative } from '..'; import { FeatureCollection } from './feature'; import { Projection } from '../projections'; export interface GeoJSONGeometryReaderOptions { targetProjection?: Projection; } export class GeoJSONGeometryReader extends BaseNative { targetProjection?: Projection; readGeometry(value: string | Object): Geometry; readFeatureCollection(str: string | Object): FeatureCollection; } export interface WKBGeometryReaderOptions { bigEndian?: boolean; z?: boolean; } export class WKBGeometryReader extends BaseNative { readGeometry(value: any): Geometry; } export interface WKTGeometryReaderOptions { bigEndian?: boolean; z?: boolean; } export class WKTGeometryReader extends BaseNative { readGeometry(value: string): Geometry; }