import { IoSource } from '@wowserhq/io'; import { MAP_CORNER_X, MAP_CORNER_Y, MAP_WIDTH, MAP_HEIGHT } from './const.js'; declare class Map { #private; get availableAreas(): Uint8Array; get layerSplatDepth(): 4 | 8; get version(): number; static getIndicesFromPosition(x: number, y: number): { areaX: number; areaY: number; chunkX: number; chunkY: number; }; /** * Convert the given position vector in the doodad or map obj def coordinate system into a vector * in the map coordinate system. * * @param defPosition - Vector in doodad / map obj def coordinate system */ static getNormalizedDefPosition(defPosition: number[]): any[]; /** * Convert the given Euler angle in the doodad or map obj def coordinate system into a quaternion * in the map coordinate system. * * @param defRotation - Euler angle in doodad / map obj def coordinate system */ static getNormalizedDefRotation(defRotation: number[]): number[]; load(source: IoSource): this; } export default Map; export { Map, MAP_WIDTH, MAP_HEIGHT, MAP_CORNER_X, MAP_CORNER_Y };