@carto/api-client 0.5.15-alpha.raster-5 → 0.5.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,5 @@
1
1
  import { Feature, Polygon, MultiPolygon, BBox, FeatureCollection, Geometry } from 'geojson';
2
2
  import { BinaryFeatureCollection, BinaryFeature } from '@loaders.gl/schema';
3
- import jsep from 'jsep';
4
3
 
5
4
  /**
6
5
  * Returns current client ID, used to categorize API requests. For internal use only.
@@ -515,7 +514,7 @@ type ColumnsOption = {
515
514
  */
516
515
  columns?: string[];
517
516
  };
518
- type SpatialDataType = 'geo' | 'h3' | 'quadbin';
517
+ type SpatialDataType = 'geo' | 'h3' | 'quadbin' | 'trajectory';
519
518
  /**
520
519
  * Strategy used for covering spatial filter geometry with spatial indexes.
521
520
  * See https://docs.carto.com/data-and-analysis/analytics-toolbox-for-bigquery/sql-reference/quadbin#quadbin_polyfill_mode
@@ -575,50 +574,13 @@ interface Tilestats {
575
574
  }
576
575
  interface Layer {
577
576
  layer: string;
578
- /** Number of features in the layer. */
579
577
  count: number;
580
- /** Number of attributes in the layer. */
581
578
  attributeCount: number;
582
579
  attributes: Attribute[];
583
- /** Type of geometry as in geojson geometry type (Point, LineString, Polygon, etc.) */
584
- geometry?: string;
585
- }
586
- interface AttributeCategoryItem {
587
- category: string;
588
- frequency: number;
589
- }
590
- /**
591
- * Quantiles by number of buckets.
592
- *
593
- * Example:
594
- * ```ts
595
- * {
596
- * // for 3 buckets, first 1/3 of items lies in range [min, 20], second 1/3 is in [20, 40], and last 1/3 is in [40, max]
597
- * 3: [20, 40],
598
- * 4: [20, 30, 50], for 4 buckets ...
599
- * }
600
- * ```
601
- */
602
- interface QuantileStats {
603
- [bucketCount: number]: number[];
604
580
  }
605
581
  interface Attribute {
606
- /**
607
- * String, Number, Timestamp, Boolean
608
- */
609
- type: string;
610
- /**
611
- * Attribute name.
612
- */
613
582
  attribute: string;
614
- min?: number;
615
- max?: number;
616
- sum?: number;
617
- /** Quantiles by number of buckets */
618
- quantiles?: {
619
- global: QuantileStats;
620
- } | QuantileStats;
621
- categories?: AttributeCategoryItem[];
583
+ type: string;
622
584
  }
623
585
  interface VectorLayer {
624
586
  id: string;
@@ -638,8 +600,17 @@ type RasterMetadataBandStats = {
638
600
  count: number;
639
601
  /**
640
602
  * Quantiles by number of buckets.
603
+ *
604
+ * Example:
605
+ * ```ts
606
+ * {
607
+ * // for 3 buckets, first 1/3 of items lies in range [min, 20], second 1/3 is in [20, 40], and last 1/3 is in [40, max]
608
+ * 3: [20, 40],
609
+ * 4: [20, 30, 50], for 4 buckets ...
610
+ * }
611
+ * ```
641
612
  */
642
- quantiles?: QuantileStats;
613
+ quantiles?: Record<number, number[]>;
643
614
  /**
644
615
  * Top values by number of values.
645
616
  *
@@ -773,19 +744,12 @@ declare function getLayerProps(type: LayerType, config: MapLayerConfig, dataset:
773
744
  declare function domainFromValues(values: any, scaleType: ScaleType): any;
774
745
  declare function opacityToAlpha(opacity?: number): number;
775
746
  declare function getColorAccessor({ name, colorColumn }: VisualChannelField, scaleType: ScaleType, { aggregation, range }: {
776
- aggregation?: string;
777
- range: ColorRange;
778
- }, opacity: number | undefined, data: TilejsonResult): {
747
+ aggregation: string;
748
+ range: any;
749
+ }, opacity: number | undefined, data: any): {
779
750
  accessor: any;
780
- domain: number[] | string[];
781
- scaleDomain: number[] | string[];
782
- range: string[];
751
+ scale: any;
783
752
  };
784
- declare function calculateLayerScale(name: string, scaleType: ScaleType, range: ColorRange, data: TilejsonResult): {
785
- scale: D3Scale;
786
- domain: string[] | number[];
787
- };
788
- declare function createColorScale<T>(scaleType: ScaleType, domain: string[] | number[], range: T[], unknown: T): D3Scale;
789
753
  declare function getIconUrlAccessor(field: VisualChannelField | null | undefined, range: CustomMarkersRange | null | undefined, { fallbackUrl, maxIconSize, useMaskedIcons, }: {
790
754
  fallbackUrl?: string | null;
791
755
  maxIconSize: number;
@@ -794,11 +758,9 @@ declare function getIconUrlAccessor(field: VisualChannelField | null | undefined
794
758
  declare function getMaxMarkerSize(visConfig: VisConfig, visualChannels: VisualChannels): number;
795
759
  type Accessor = number | ((d: any, i: any) => number);
796
760
  declare function negateAccessor(accessor: Accessor): Accessor;
797
- declare function getSizeAccessor({ name }: VisualChannelField, scaleType: ScaleType | undefined, aggregation: string | null | undefined, range: number[] | undefined, data: TilejsonResult): {
761
+ declare function getSizeAccessor({ name }: VisualChannelField, scaleType: ScaleType | undefined, aggregation: string | null | undefined, range: Iterable<Range> | null | undefined, data: any): {
798
762
  accessor: any;
799
- domain: number[];
800
- scaleDomain: number[];
801
- range: number[] | undefined;
763
+ scale: any;
802
764
  };
803
765
  declare function getTextAccessor({ name, type }: VisualChannelField, data: any): any;
804
766
 
@@ -842,7 +804,6 @@ type ColorRange = {
842
804
  colorMap: string[][] | undefined;
843
805
  name: string;
844
806
  type: string;
845
- uiCustomScaleType?: 'logarithmic';
846
807
  };
847
808
  type CustomMarkersRange = {
848
809
  markerMap: {
@@ -851,36 +812,27 @@ type CustomMarkersRange = {
851
812
  }[];
852
813
  othersMarker?: string;
853
814
  };
854
- type ColorBand = 'red' | 'green' | 'blue' | 'alpha';
855
- type RasterLayerConfigColorBand = {
856
- band: ColorBand;
857
- type: 'none' | 'band' | 'expression';
858
- value: string;
859
- };
860
815
  type VisConfig = {
861
816
  filled?: boolean;
862
817
  opacity?: number;
863
818
  enable3d?: boolean;
864
- colorAggregation?: string;
819
+ colorAggregation?: any;
865
820
  colorRange: ColorRange;
866
821
  customMarkers?: boolean;
867
822
  customMarkersRange?: CustomMarkersRange | null;
868
823
  customMarkersUrl?: string | null;
869
824
  radius: number;
870
825
  radiusRange?: number[];
871
- sizeAggregation?: string;
872
- sizeRange?: number[];
873
- strokeColorAggregation?: string;
826
+ sizeAggregation?: any;
827
+ sizeRange?: any;
828
+ strokeColorAggregation?: any;
874
829
  strokeOpacity?: number;
875
830
  strokeColorRange?: ColorRange;
876
- heightRange?: number[];
877
- heightAggregation?: string;
878
- weightAggregation?: string;
831
+ heightRange?: any;
832
+ heightAggregation?: any;
833
+ weightAggregation?: any;
879
834
  clusterLevel?: number;
880
835
  isTextVisible?: boolean;
881
- rasterStyleType?: 'Rgb' | 'ColorRange' | 'UniqueValues';
882
- colorBands?: RasterLayerConfigColorBand[];
883
- uniqueValuesColorRange?: ColorRange;
884
836
  };
885
837
  type TextLabel = {
886
838
  field: VisualChannelField | null | undefined;
@@ -1015,9 +967,6 @@ type Dataset = {
1015
967
  exportToBucketAvailable?: boolean;
1016
968
  };
1017
969
 
1018
- type StyleLayerGroupSlug = 'label' | 'road' | 'border' | 'building' | 'water' | 'land';
1019
- declare function applyLayerGroupFilters(style: any, // this Maplibre/Mapbox style, we don't want to add a dependency on Maplibre
1020
- visibleLayerGroups: Record<StyleLayerGroupSlug, boolean>): any;
1021
970
  declare const _default: {
1022
971
  readonly VOYAGER: string;
1023
972
  readonly POSITRON: string;
@@ -1027,36 +976,17 @@ declare const _default: {
1027
976
  readonly DARK_MATTER_NOLABELS: string;
1028
977
  };
1029
978
 
1030
- declare function getRasterTileLayerStyleProps({ layerConfig, visualChannels, rasterMetadata, }: {
1031
- layerConfig: MapLayerConfig;
1032
- visualChannels: VisualChannels;
1033
- rasterMetadata: RasterMetadata;
1034
- }): {
1035
- dataTransform: () => any;
1036
- updateTriggers: {
1037
- getFillColor: Record<string, unknown>;
1038
- };
1039
- } | {
1040
- dataTransform?: undefined;
1041
- updateTriggers?: undefined;
1042
- };
1043
-
1044
979
  type Scale = {
1045
- type: ScaleType;
1046
980
  field: VisualChannelField;
1047
- /** Natural domain of the scale, as defined by the data */
1048
981
  domain: string[] | number[];
1049
- /** Domain of the user to construct d3 scale */
1050
- scaleDomain?: string[] | number[];
1051
- range?: string[] | number[];
982
+ range: string[] | number[];
983
+ type: ScaleType;
1052
984
  };
1053
- type ScaleKey = 'fillColor' | 'pointRadius' | 'lineColor' | 'elevation' | 'weight';
1054
- type Scales = Partial<Record<ScaleKey, Scale>>;
1055
985
  type LayerDescriptor = {
1056
986
  type: LayerType;
1057
987
  props: Record<string, any>;
1058
988
  filters?: Filters;
1059
- scales: Scales;
989
+ scales: Record<ScaleKey, Scale>;
1060
990
  };
1061
991
  type ParseMapResult = {
1062
992
  /** Map id. */
@@ -1074,11 +1004,6 @@ type ParseMapResult = {
1074
1004
  token: string;
1075
1005
  layers: LayerDescriptor[];
1076
1006
  };
1077
- declare function getLayerDescriptor({ mapConfig, layer, dataset, }: {
1078
- mapConfig: KeplerMapConfig;
1079
- layer: MapConfigLayer;
1080
- dataset: Dataset;
1081
- }): LayerDescriptor;
1082
1007
  declare function parseMap(json: any): {
1083
1008
  id: any;
1084
1009
  title: any;
@@ -1096,6 +1021,7 @@ declare function parseMap(json: any): {
1096
1021
  token: any;
1097
1022
  layers: (LayerDescriptor | undefined)[];
1098
1023
  };
1024
+ type ScaleKey = 'fillColor' | 'pointRadius' | 'lineColor' | 'elevation' | 'weight';
1099
1025
 
1100
1026
  type FetchMapOptions = {
1101
1027
  /**
@@ -1159,55 +1085,6 @@ declare function fetchBasemapProps({ config, errorContext, applyLayerFilters, }:
1159
1085
  errorContext?: APIErrorContext;
1160
1086
  }): Promise<Basemap | null>;
1161
1087
 
1162
- /**
1163
- * Create domain for D3 threshold scale with logarithmic steps.
1164
- *
1165
- * If min is 0, it starts with max and goes down to fill color scale.
1166
- * If max is Infinity, it starts with 10 and goes up to fill color scale.
1167
- * Othersise it starts on first power of 10 that is greater than min.
1168
- *
1169
- * Generates `steps-1` entries, as this is what d3 threshold scale expects
1170
- *
1171
- * @see https://d3js.org/d3-scale/threshold
1172
- */
1173
- declare function getLog10ScaleSteps({ min, max, steps, }: {
1174
- min: number;
1175
- max: number;
1176
- steps: number;
1177
- }): number[];
1178
-
1179
- /**
1180
- * Create vector expresion evaluator.
1181
- *
1182
- * Used to calculate vector expressions, such as `(band_1 * 3) + band_2/2`,
1183
- * where `band_1` and `band_2` are arrays or typed arrays.
1184
- *
1185
- * Note that all vector operations are element-wise, in paricular `band_1 * band_2`
1186
- * is not "mathematical" dot or cross product, but just element-wise multiplication.
1187
- *
1188
- * Based on:
1189
- * - Copyright (c) 2013 Stephen Oney, http://jsep.from.so/, MIT License
1190
- * - Copyright (c) 2023 Don McCurdy, https://github.com/donmccurdy/expression-eval, MIT License
1191
- */
1192
- declare function createVecExprEvaluator(expression: string | jsep.Expression): VecExprEvaluator | null;
1193
- declare function evaluateVecExpr(expression: string | jsep.Expression, context: Record<string, VecExprResult>): VecExprResult | null | undefined;
1194
- declare enum ErrorCode {
1195
- InvalidSyntax = 0,
1196
- UnknownIdentifier = 1
1197
- }
1198
- type ValidationResult = {
1199
- valid: boolean;
1200
- errorCode?: ErrorCode;
1201
- errorMessage?: string;
1202
- };
1203
- declare function validateVecExprSyntax(expression: string | jsep.Expression, context: Record<string, unknown>): ValidationResult;
1204
- type VecExprVecLike = number[] | Float32Array | Float64Array | Uint8Array | Int8Array | Int32Array | Uint32Array | Uint16Array | Int16Array;
1205
- type VecExprResult = number | VecExprVecLike;
1206
- type VecExprEvaluator = {
1207
- (context: object): VecExprResult;
1208
- symbols?: string[];
1209
- };
1210
-
1211
1088
  type FilterTypeOptions<T extends FilterType> = {
1212
1089
  type: T;
1213
1090
  column: string;
@@ -1498,6 +1375,9 @@ type CategoryResponseRaw = {
1498
1375
  type RangeResponse = {
1499
1376
  min: number;
1500
1377
  max: number;
1378
+ } | {
1379
+ min: string;
1380
+ max: string;
1501
1381
  } | null;
1502
1382
  /** Response from {@link WidgetRemoteSource#getTable}. */
1503
1383
  type TableResponse = {
@@ -1960,6 +1840,28 @@ type VectorTilesetSourceOptions = SourceOptions & TilesetSourceOptions;
1960
1840
  type VectorTilesetSourceResponse = TilejsonResult & WidgetTilesetSourceResult;
1961
1841
  declare const vectorTilesetSource: (options: VectorTilesetSourceOptions) => Promise<VectorTilesetSourceResponse>;
1962
1842
 
1843
+ type TrajectoryQuerySourceOptions = SourceOptions & QuerySourceOptions & ColumnsOption & {
1844
+ /** Column name containing the trajectory identifier */
1845
+ trajectoryIdColumn: string;
1846
+ /** Column name containing the timestamp */
1847
+ timestampColumn: string;
1848
+ };
1849
+ type TrajectoryQuerySourceResponse = TilejsonResult & WidgetQuerySourceResult & {
1850
+ timestampRange: RangeResponse;
1851
+ };
1852
+ declare const trajectoryQuerySource: (options: TrajectoryQuerySourceOptions) => Promise<TrajectoryQuerySourceResponse>;
1853
+
1854
+ type TrajectoryTableSourceOptions = SourceOptions & TableSourceOptions & ColumnsOption & {
1855
+ /** Column name containing the trajectory identifier */
1856
+ trajectoryIdColumn: string;
1857
+ /** Column name containing the timestamp */
1858
+ timestampColumn: string;
1859
+ };
1860
+ type TrajectoryTableSourceResponse = TilejsonResult & WidgetTableSourceResult & {
1861
+ timestampRange: RangeResponse;
1862
+ };
1863
+ declare const trajectoryTableSource: (options: TrajectoryTableSourceOptions) => Promise<TrajectoryTableSourceResponse>;
1864
+
1963
1865
  /**
1964
1866
  * Resolution conversion function. Takes a WebMercatorViewport and returns
1965
1867
  * a H3 resolution such that the screen space size of the hexagons is
@@ -2110,4 +2012,4 @@ declare function getColumnNameFromGeoColumn(geoColumn: string | null | undefined
2110
2012
  */
2111
2013
  declare function getSpatialIndexFromGeoColumn(geoColumn: string): SpatialIndex | null;
2112
2014
 
2113
- export { type APIErrorContext, type APIRequestType, type AddFilterOptions, type AggregationFunction, type AggregationType, AggregationTypes, ApiVersion, type Attribute, _default as BASEMAP, type BaseRequestOptions, type Basemap, type BoundaryQuerySourceOptions, type BoundaryQuerySourceResponse, type BoundaryTableSourceOptions, type BoundaryTableSourceResponse, CartoAPIError, type CategoryOrderBy, type CategoryRequestOptions, type CategoryResponse, type CategoryResponseEntry, type CategoryResponseRaw, CellSet, type ColumnsOption, type D3Scale, DEFAULT_API_BASE_URL, type ExtentRequestOptions, type ExtentResponse, FEATURE_GEOM_PROPERTY, type FeaturesRequestOptions, type FeaturesResponse, type FetchMapOptions, type FetchMapResult, type Filter, type FilterFunction, type FilterInterval, type FilterIntervalComplete, type FilterIntervalExtremum, type FilterLogicalOperator, type FilterOptions, FilterType, type Filters, type Format, type FormulaRequestOptions, type FormulaResponse, type GetFilterOptions, type GoogleBasemap, type GroupByFeature, type GroupDateType, type H3QuerySourceOptions, type H3QuerySourceResponse, type H3TableSourceOptions, type H3TableSourceResponse, type H3TilesetSourceOptions, type H3TilesetSourceResponse, type HasFilterOptions, type HistogramRequestOptions, type HistogramResponse, type KeplerMapConfig, type Layer, type LayerDescriptor, type LayerType, type MapLibreBasemap, type MapType, type NamedQueryParameter, OPACITY_MAP, OTHERS_CATEGORY_NAME, type ParseMapResult, type PositionalQueryParameter, Provider, type ProviderType, type QuadbinQuerySourceOptions, type QuadbinQuerySourceResponse, type QuadbinTableSourceOptions, type QuadbinTableSourceResponse, type QuadbinTilesetSourceOptions, type QuadbinTilesetSourceResponse, type QueryOptions, type QueryParameterValue, type QueryParameters, type QueryResult, type QuerySourceOptions, type RangeRequestOptions, type RangeResponse, type Raster, RasterBandColorinterp, type RasterBandType, type RasterMetadata, type RasterMetadataBand, type RasterMetadataBandStats, type RasterSourceOptions, type RasterTile, type RemoveFilterOptions, SOURCE_DEFAULTS, type Scale, type ScaleKey, type ScaleType, type Scales, type ScatterPlotFeature, type ScatterRequestOptions, type ScatterResponse, type SchemaField, SchemaFieldType, type SortColumnType, type SortDirection, type SourceOptionalOptions, type SourceOptions, type SourceRequiredOptions, type SpatialDataType, type SpatialFilter, type SpatialFilterPolyfillMode, SpatialIndex, SpatialIndexColumn, type SpatialIndexTile, type StringSearchOptions, TEXT_LABEL_INDEX, TEXT_NUMBER_FORMATTER, TEXT_OUTLINE_OPACITY, type TableRequestOptions, type TableResponse, type TableSourceOptions, type Tile, type TileFeatureExtractOptions, type TileFeatures, type TileFeaturesSpatialIndexOptions, TileFormat, type TileResolution, type Tilejson, type TilejsonResult, type TilesetSourceOptions, type Tilestats, type TimeSeriesRequestOptions, type TimeSeriesResponse, type VectorLayer, type VectorQuerySourceOptions, type VectorQuerySourceResponse, type VectorTableSourceOptions, type VectorTableSourceResponse, type VectorTilesetSourceOptions, type VectorTilesetSourceResponse, type ViewState, type Viewport, WidgetQuerySource, type WidgetQuerySourceResult, WidgetRasterSource, type WidgetRasterSourceProps, type WidgetRasterSourceResult, WidgetRemoteSource, type WidgetRemoteSourceProps, WidgetSource, type WidgetSourceProps, WidgetTableSource, type WidgetTableSourceResult, WidgetTilesetSource, type WidgetTilesetSourceProps, type WidgetTilesetSourceResult, type _DataFilterExtensionProps, ErrorCode as _ErrorCode, type VecExprResult as _VecExprResult, applyLayerGroupFilters as _applyLayerGroupFilters, _buildFeatureFilter, createVecExprEvaluator as _createVecExprEvaluator, domainFromValues as _domainFromValues, evaluateVecExpr as _evaluateVecExpr, _getHexagonResolution, getLog10ScaleSteps as _getLog10ScaleSteps, getRasterTileLayerStyleProps as _getRasterTileLayerStyleProps, validateVecExprSyntax as _validateVecExprSyntax, addFilter, aggregate, aggregationFunctions, applyFilters, applySorting, boundaryQuerySource, boundaryTableSource, buildBinaryFeatureFilter, buildPublicMapUrl, buildStatsUrl, calculateClusterRadius, calculateClusterTextFontSize, calculateLayerScale, clearDefaultRequestCache, clearFilters, configureSource, createColorScale, createPolygonSpatialFilter, createViewportSpatialFilter, fetchBasemapProps, fetchMap, filterFunctions, geojsonFeatures, getApplicableFilters, getClient, getColorAccessor, getColumnNameFromGeoColumn, getDataFilterExtensionProps, getDefaultAggregationExpColumnAliasForLayerType, getFilter, getIconUrlAccessor, getLayerDescriptor, getLayerProps, getMaxMarkerSize, getSizeAccessor, getSorter, getSpatialIndexFromGeoColumn, getTextAccessor, groupValuesByColumn, groupValuesByDateColumn, h3QuerySource, h3TableSource, h3TilesetSource, hasFilter, histogram, makeIntervalComplete, negateAccessor, opacityToAlpha, parseMap, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, query, rasterSource, removeFilter, requestWithParameters, scaleAggregationResLevel, scatterPlot, setClient, tileFeatures, tileFeaturesGeometries, tileFeaturesSpatialIndex, transformToTileCoords, vectorQuerySource, vectorTableSource, vectorTilesetSource };
2015
+ export { type APIErrorContext, type APIRequestType, type AddFilterOptions, type AggregationFunction, type AggregationType, AggregationTypes, ApiVersion, type Attribute, _default as BASEMAP, type BaseRequestOptions, type Basemap, type BoundaryQuerySourceOptions, type BoundaryQuerySourceResponse, type BoundaryTableSourceOptions, type BoundaryTableSourceResponse, CartoAPIError, type CategoryOrderBy, type CategoryRequestOptions, type CategoryResponse, type CategoryResponseEntry, type CategoryResponseRaw, CellSet, type ColumnsOption, type D3Scale, DEFAULT_API_BASE_URL, type ExtentRequestOptions, type ExtentResponse, FEATURE_GEOM_PROPERTY, type FeaturesRequestOptions, type FeaturesResponse, type FetchMapOptions, type FetchMapResult, type Filter, type FilterFunction, type FilterInterval, type FilterIntervalComplete, type FilterIntervalExtremum, type FilterLogicalOperator, type FilterOptions, FilterType, type Filters, type Format, type FormulaRequestOptions, type FormulaResponse, type GetFilterOptions, type GoogleBasemap, type GroupByFeature, type GroupDateType, type H3QuerySourceOptions, type H3QuerySourceResponse, type H3TableSourceOptions, type H3TableSourceResponse, type H3TilesetSourceOptions, type H3TilesetSourceResponse, type HasFilterOptions, type HistogramRequestOptions, type HistogramResponse, type KeplerMapConfig, type Layer, type LayerDescriptor, type LayerType, type MapLibreBasemap, type MapType, type NamedQueryParameter, OPACITY_MAP, OTHERS_CATEGORY_NAME, type ParseMapResult, type PositionalQueryParameter, Provider, type ProviderType, type QuadbinQuerySourceOptions, type QuadbinQuerySourceResponse, type QuadbinTableSourceOptions, type QuadbinTableSourceResponse, type QuadbinTilesetSourceOptions, type QuadbinTilesetSourceResponse, type QueryOptions, type QueryParameterValue, type QueryParameters, type QueryResult, type QuerySourceOptions, type RangeRequestOptions, type RangeResponse, type Raster, RasterBandColorinterp, type RasterBandType, type RasterMetadata, type RasterMetadataBand, type RasterMetadataBandStats, type RasterSourceOptions, type RasterTile, type RemoveFilterOptions, SOURCE_DEFAULTS, type Scale, type ScaleKey, type ScaleType, type ScatterPlotFeature, type ScatterRequestOptions, type ScatterResponse, type SchemaField, SchemaFieldType, type SortColumnType, type SortDirection, type SourceOptionalOptions, type SourceOptions, type SourceRequiredOptions, type SpatialDataType, type SpatialFilter, type SpatialFilterPolyfillMode, SpatialIndex, SpatialIndexColumn, type SpatialIndexTile, type StringSearchOptions, TEXT_LABEL_INDEX, TEXT_NUMBER_FORMATTER, TEXT_OUTLINE_OPACITY, type TableRequestOptions, type TableResponse, type TableSourceOptions, type Tile, type TileFeatureExtractOptions, type TileFeatures, type TileFeaturesSpatialIndexOptions, TileFormat, type TileResolution, type Tilejson, type TilejsonResult, type TilesetSourceOptions, type Tilestats, type TimeSeriesRequestOptions, type TimeSeriesResponse, type TrajectoryQuerySourceOptions, type TrajectoryQuerySourceResponse, type TrajectoryTableSourceOptions, type TrajectoryTableSourceResponse, type VectorLayer, type VectorQuerySourceOptions, type VectorQuerySourceResponse, type VectorTableSourceOptions, type VectorTableSourceResponse, type VectorTilesetSourceOptions, type VectorTilesetSourceResponse, type ViewState, type Viewport, WidgetQuerySource, type WidgetQuerySourceResult, WidgetRasterSource, type WidgetRasterSourceProps, type WidgetRasterSourceResult, WidgetRemoteSource, type WidgetRemoteSourceProps, WidgetSource, type WidgetSourceProps, WidgetTableSource, type WidgetTableSourceResult, WidgetTilesetSource, type WidgetTilesetSourceProps, type WidgetTilesetSourceResult, type _DataFilterExtensionProps, _buildFeatureFilter, domainFromValues as _domainFromValues, _getHexagonResolution, addFilter, aggregate, aggregationFunctions, applyFilters, applySorting, boundaryQuerySource, boundaryTableSource, buildBinaryFeatureFilter, buildPublicMapUrl, buildStatsUrl, calculateClusterRadius, calculateClusterTextFontSize, clearDefaultRequestCache, clearFilters, configureSource, createPolygonSpatialFilter, createViewportSpatialFilter, fetchBasemapProps, fetchMap, filterFunctions, geojsonFeatures, getApplicableFilters, getClient, getColorAccessor, getColumnNameFromGeoColumn, getDataFilterExtensionProps, getDefaultAggregationExpColumnAliasForLayerType, getFilter, getIconUrlAccessor, getLayerProps, getMaxMarkerSize, getSizeAccessor, getSorter, getSpatialIndexFromGeoColumn, getTextAccessor, groupValuesByColumn, groupValuesByDateColumn, h3QuerySource, h3TableSource, h3TilesetSource, hasFilter, histogram, makeIntervalComplete, negateAccessor, opacityToAlpha, parseMap, quadbinQuerySource, quadbinTableSource, quadbinTilesetSource, query, rasterSource, removeFilter, requestWithParameters, scaleAggregationResLevel, scatterPlot, setClient, tileFeatures, tileFeaturesGeometries, tileFeaturesSpatialIndex, trajectoryQuerySource, trajectoryTableSource, transformToTileCoords, vectorQuerySource, vectorTableSource, vectorTilesetSource };