import type { CompositeLayerProps, DefaultProps, GetPickingInfoParams, Layer, LayersList } from "@deck.gl/core"; import { CompositeLayer } from "@deck.gl/core"; import type { PointCloudLayerProps } from "@deck.gl/layers"; import * as ga from "@geoarrow/geoarrow-js"; import type * as arrow from "apache-arrow"; import type { ColorAccessor, GeoArrowPickingInfo, NormalAccessor } from "../types"; import type { GeoArrowExtraPickingProps } from "../utils/picking"; export type GeoArrowPointCloudLayerProps = Omit, "data" | "getPosition" | "getNormal" | "getColor"> & _GeoArrowPointCloudLayerProps & CompositeLayerProps; type _GeoArrowPointCloudLayerProps = { data: arrow.RecordBatch; /** * If `true`, validate the arrays provided (e.g. chunk lengths) * @default true */ _validate?: boolean; /** * Center position accessor. * If not provided, will be inferred by finding a column with extension type * `"geoarrow.point"` */ getPosition?: ga.data.PointData; /** * The normal of each object, in `[nx, ny, nz]`. * @default [0,0,1] */ getNormal?: NormalAccessor; /** * The rgba color is in the format of `[r, g, b, [a]]` * @default [0,0,0,225] */ getColor?: ColorAccessor; }; export declare class GeoArrowPointCloudLayer extends CompositeLayer { static defaultProps: DefaultProps; static layerName: string; getPickingInfo(params: GetPickingInfoParams & { sourceLayer: { props: GeoArrowExtraPickingProps; }; }): GeoArrowPickingInfo; renderLayers(): Layer | LayersList | null; _renderPointLayer(geometryData: ga.data.PointData): Layer | LayersList | null; } export {}; //# sourceMappingURL=point-cloud-layer.d.ts.map