import { Tile3DLayer } from '@deck.gl/geo-layers'; import { UpdateParameters, Viewport } from '@deck.gl/core'; import { Tile3D, Tileset3D } from '@loaders.gl/tiles'; type _DataDrivenTile3DLayerProps = { onTraversalComplete?: (selectedTiles: Tile3D[]) => Tile3D[]; colorsByAttribute?: ColorsByAttribute | null; customizeColors?: (tile: Tile3D, colorsByAttribute: ColorsByAttribute | null) => Promise<{ isColored: boolean; id: string; }>; filtersByAttribute?: FiltersByAttribute | null; filterTile?: (tile: Tile3D, filtersByAttribute: FiltersByAttribute | null) => Promise<{ isFiltered: boolean; id: string; }>; }; export type ColorsByAttribute = { /** Feature attribute name */ attributeName: string; /** Minimum attribute value */ minValue: number; /** Maximum attribute value */ maxValue: number; /** Minimum color. 3DObject will be colorized with gradient from `minColor to `maxColor` */ minColor: [number, number, number, number]; /** Maximum color. 3DObject will be colorized with gradient from `minColor to `maxColor` */ maxColor: [number, number, number, number]; /** Colorization mode. `replace` - replace vertex colors with a new colors, `multiply` - multiply vertex colors with new colors */ mode: string; }; export type FiltersByAttribute = { /** Feature attribute name */ attributeName: string; /** Filter value */ value: number; }; export declare class DataDrivenTile3DLayer = Record> extends Tile3DLayer & ExtraProps> { static layerName: string; static defaultProps: any; state: { activeViewports: any; frameNumber?: number; lastUpdatedViewports: { [viewportId: string]: Viewport; } | null; layerMap: { [layerId: string]: any; }; tileset3d: Tileset3D | null; colorsByAttribute: ColorsByAttribute | null; filtersByAttribute: FiltersByAttribute | null; loadingCounter: number; }; initializeState(): void; updateState(params: UpdateParameters): void; private _loadTileset; private _onTileLoad; private _onTraversalComplete; private _colorizeTiles; private _colorizeTileset; private _filterTiles; private _filterTileset; } export {}; //# sourceMappingURL=data-driven-tile-3d-layer.d.ts.map