import type { CompositeLayerProps, DefaultProps, Layer, LayersList } from "@deck.gl/core"; import { CompositeLayer } from "@deck.gl/core"; import type { TripsLayerProps } from "@deck.gl/geo-layers"; import * as ga from "@geoarrow/geoarrow-js"; import type * as arrow from "apache-arrow"; import type { ColorAccessor, FloatAccessor, TimestampAccessor } from "../types"; /** All properties supported by GeoArrowTripsLayer */ export type GeoArrowTripsLayerProps = Omit, "data" | "getPath" | "getColor" | "getWidth" | "getTimestamps"> & _GeoArrowTripsLayerProps & CompositeLayerProps; /** Properties added by GeoArrowTripsLayer */ type _GeoArrowTripsLayerProps = { data: arrow.RecordBatch; /** * If `true`, validate the arrays provided (e.g. chunk lengths) * @default true */ _validate?: boolean; /** * Path geometry accessor. */ getPath?: ga.data.LineStringData; /** * Path color accessor. * @default [0, 0, 0, 255] */ getColor?: ColorAccessor; /** * Path width accessor. * @default 1 */ getWidth?: FloatAccessor; /** * Timestamp accessor. */ getTimestamps: TimestampAccessor; }; /** Render animated paths that represent vehicle trips. */ export declare class GeoArrowTripsLayer extends CompositeLayer { static defaultProps: DefaultProps; static layerName: string; renderLayers(): Layer | LayersList | null; _renderLineStringLayer(lineStringData: ga.data.LineStringData, timestampData: TimestampAccessor): Layer | LayersList | null; } export {}; //# sourceMappingURL=trips-layer.d.ts.map