import { BspMap } from '../assets/bsp.js'; export interface LightmapExport { readonly width: number; readonly height: number; readonly data: Uint8Array; } /** * Extracts all valid lightmaps from a BSP map and packs them into a series of atlases. * This function does not require a WebGL context. * * @param map The parsed BSP map. * @param atlasSize The width/height of the generated atlases (default 1024). * @param padding Padding between packed lightmaps (default 1). * @returns An array of atlases, each containing width, height, and raw RGBA pixel data. */ export declare function exportLightmaps(map: BspMap, atlasSize?: number, padding?: number): LightmapExport[]; //# sourceMappingURL=lightmapExport.d.ts.map