import { Geometry } from '.'; export interface Feature { properties: { [k: string]: any }; geometry: Geometry; // getProperties(): any; // getGeometry(): Geometry; } export interface VectorTileFeature extends Feature { id: number; layerName: string; mapTile: any; distance: number; } export class FeatureCollection { constructor(native: any); getFeature(index: number): Feature; getGeometry(index: number): Geometry; getFeatureCount(): number; readonly featureCount: number; getNative(); getBounds(): MapBounds; } export class VectorTileFeatureCollection extends FeatureCollection { getFeature(index: number): VectorTileFeature; }