import type { CompositeLayerProps, DefaultProps, GetPickingInfoParams, Layer, LayersList } from "@deck.gl/core"; import { CompositeLayer } from "@deck.gl/core"; import type { ArcLayerProps } from "@deck.gl/layers"; import * as ga from "@geoarrow/geoarrow-js"; import type { RecordBatch } from "apache-arrow"; import type { ColorAccessor, FloatAccessor, GeoArrowPickingInfo } from "../types"; import type { GeoArrowExtraPickingProps } from "../utils/picking"; /** All properties supported by GeoArrowArcLayer */ export type GeoArrowArcLayerProps = Omit & _GeoArrowArcLayerProps & CompositeLayerProps; /** Properties added by GeoArrowArcLayer */ type _GeoArrowArcLayerProps = { data: RecordBatch; /** * Method called to retrieve the source position of each object. */ getSourcePosition: ga.data.PointData; /** * Method called to retrieve the target position of each object. */ getTargetPosition: ga.data.PointData; /** * The rgba color is in the format of `[r, g, b, [a]]`. * @default [0, 0, 0, 255] */ getSourceColor?: ColorAccessor; /** * The rgba color is in the format of `[r, g, b, [a]]`. * @default [0, 0, 0, 255] */ getTargetColor?: ColorAccessor; /** * The line width of each object, in units specified by `widthUnits`. * @default 1 */ getWidth?: FloatAccessor; /** * Multiplier of layer height. `0` will make the layer flat. * @default 1 */ getHeight?: FloatAccessor; /** * Use to tilt the arc to the side if you have multiple arcs with the same source and target positions. * @default 0 */ getTilt?: FloatAccessor; /** * If `true`, validate the arrays provided (e.g. chunk lengths) * @default true */ _validate?: boolean; }; export declare class GeoArrowArcLayer extends CompositeLayer { static defaultProps: DefaultProps; static layerName: string; getPickingInfo(params: GetPickingInfoParams & { sourceLayer: { props: GeoArrowExtraPickingProps; }; }): GeoArrowPickingInfo; renderLayers(): Layer | LayersList | null; _renderLayersPoint(): Layer | LayersList | null; } export {}; //# sourceMappingURL=arc-layer.d.ts.map