import { DataTexture, Vector2 } from 'three'; import type { TextureDataType } from 'three'; import type { Extent } from '@itowns/geographic'; import type { Pool, GeoTIFFImage } from 'geotiff'; export type TextureWithExtent = DataTexture & { extent: Extent; }; declare function selectDataType(format: number, bitsPerSample: number): 1015 | 1013 | 1009 | 1012 | 1014 | 1010 | 1011 | 1016; declare class GeotiffNode { #private; image: GeoTIFFImage; width: number; height: number; resolution: Array; origin: Array; dataType: TextureDataType; constructor(config: { image: GeoTIFFImage; resolution?: Array; origin?: Array; dataType?: TextureDataType; }); extractTexture(options: { textureExtent?: Extent; textureDimensions: Vector2; resampleMethod?: string; defaultAlpha?: number; pool?: Pool; }): Promise; } declare function parse(data: any, options: any): Promise; declare const _default: { parse: typeof parse; }; export default _default; export { selectDataType, GeotiffNode, };