import Provider from './Provider'; import USGeoJson from './geoAssets/us.geo.json'; import WorldGeoJson from './geoAssets/world.geo.json'; type GeoJsonMapId = 'us' | 'world'; type GeoJsonAsset = typeof USGeoJson | typeof WorldGeoJson; interface GeoJsonRequestConfig { mapId?: string; storageType?: string; } interface GeoJsonListOptions { offset?: number; count?: number; } interface GeoJsonListEntry { id: GeoJsonMapId; url: string; } declare class GeoJsonProvider extends Provider { constructor(); getType(): string; getById({ mapId }: GeoJsonRequestConfig): Promise; listIds({ offset, count }?: GeoJsonListOptions): Promise; upload(): Promise; deleteById(): Promise; } export default GeoJsonProvider;