import type { CompositeLayerProps, DefaultProps, GetPickingInfoParams, Layer, LayersList } from "@deck.gl/core"; import { CompositeLayer } from "@deck.gl/core"; import type { GeohashLayerProps } from "@deck.gl/geo-layers"; import * as arrow from "apache-arrow"; import type { ColorAccessor, FloatAccessor, GeoArrowPickingInfo } from "../types"; import type { GeoArrowExtraPickingProps } from "../utils/picking"; /** All properties supported by GeoArrowGeohashLayer */ export type GeoArrowGeohashLayerProps = Omit & _GeoArrowGeohashLayerProps & CompositeLayerProps; /** Props added by the GeoArrowGeohashLayer */ type _GeoArrowGeohashLayerProps = { data: arrow.RecordBatch; /** * Called for each data object to retrieve the quadkey string identifier. */ getGeohash: arrow.Data; /** Fill color accessor. * @default [0, 0, 0, 255] */ getFillColor?: ColorAccessor; /** Stroke color accessor. * @default [0, 0, 0, 255] */ getLineColor?: ColorAccessor; /** * Line width value of accessor. * @default 1 */ getLineWidth?: FloatAccessor; /** * Elevation value of accessor. * * Only used if `extruded: true`. * * @default 1000 */ getElevation?: FloatAccessor; /** * If `true`, validate the arrays provided (e.g. chunk lengths) * @default true */ _validate?: boolean; }; export declare class GeoArrowGeohashLayer extends CompositeLayer { static defaultProps: DefaultProps; static layerName: string; getPickingInfo(params: GetPickingInfoParams & { sourceLayer: { props: GeoArrowExtraPickingProps; }; }): GeoArrowPickingInfo; renderLayers(): Layer | LayersList | null; _renderLayer(): Layer | LayersList | null; } export {}; //# sourceMappingURL=geohash-layer.d.ts.map