import { CompositeLayer, CompositeLayerProps, DefaultProps, UpdateParameters } from '@deck.gl/core'; import { _Tile2DHeader as Tile2DHeader, _TileLoadProps as TileLoadProps, GeoBoundingBox, NonGeoBoundingBox, TileLayer, TileLayerProps } from '@deck.gl/geo-layers'; import { BitmapLayer } from '@deck.gl/layers'; import type { MeshAttributes } from '@loaders.gl/schema'; import CogTiles from '../core/CogTiles'; import { GeoImageOptions, TileResult } from '../core/GeoImage'; export type TileBoundingBox = NonGeoBoundingBox | GeoBoundingBox; export type ZRange = [minZ: number, maxZ: number]; export type Bounds = [minX: number, minY: number, maxX: number, maxY: number]; export type URLTemplate = string | string[] | null; export declare const urlType: { type: "object"; value: URLTemplate; validate: (value: any, propType: any) => any; equal: (value1: any, value2: any) => boolean; }; export type ClampToTerrainOptions = { terrainDrawMode?: string; }; type MeshAndTexture = TileResult | null; /** Props added by the CogBitmapLayer */ type _CogBitmapLayerProps = { /** Image url that encodes raster data. * */ rasterData: URLTemplate; /** Bounding box of the bitmap image, [minX, minY, maxX, maxY] in world coordinates. * */ bounds: Bounds | null; /** Whether the rendered texture should be clamped to terrain * */ clampToTerrain?: ClampToTerrainOptions | boolean; /** * TODO */ cogBitmapOptions: GeoImageOptions; isTiled: boolean; /** Pre-initialized CogTiles object */ cogTiles?: CogTiles; /** * @deprecated Use `loadOptions.terrain.workerUrl` instead */ workerUrl?: string; }; /** All properties supported by CogBitmapLayer */ export type CogBitmapLayerProps = _CogBitmapLayerProps & TileLayerProps & CompositeLayerProps; /** Render bitmap texture from cog raster images. */ export default class CogBitmapLayer extends CompositeLayer>>> { static defaultProps: DefaultProps; static layerName: string; state: { initialized: boolean; isTiled?: boolean; terrain?: MeshAttributes; zRange?: ZRange | null; bitmapCogTiles: any; minZoom: number; maxZoom: number; }; initializeState(context: any): Promise; init(): Promise; updateState({ props, oldProps }: UpdateParameters): void; getTiledBitmapData(tile: TileLoadProps): Promise; renderSubLayers(props: TileLayerProps & { id: string; data: TileResult | null; tile: Tile2DHeader; }): BitmapLayer<{}> | null; renderLayers(): TileLayer | null; } export {};