/** * In interleaved (MapboxOverlay) mode during video export, deck.gl creates * two viewports per frame: 'MapView' and 'mapbox'. loaders.gl's Tileset3D * creates separate Tile3D trees per viewport, then merges selected tiles by * ID — the last viewport overwrites. Tile3D.updateVisibility sets viewportIds * to only the traversing viewport's ID (overwrite, not append) and guards * against re-entry within the same frame. The result: some tiles end up with * viewportIds=['MapView'] only. Tile3DLayer.filterSubLayer then rejects them * when a render pass uses viewport 'mapbox'. * * Fix: before any render pass that needs all tiles (shadow, fog, etc.), * ensure every tile sub-layer's tile has the pass viewport ID in its * viewportIds array. Returns a cleanup function that removes the added IDs * so they don't accumulate across frames. */ export declare function patchTileViewportIds(opts: { viewports?: { id: string; }[]; layers?: any[]; }): () => void; /** * Reset WebGL depthRange to [0, 1]. * * Maplibre/Mapbox basemap rendering compresses the depth range (e.g. [0, 0.979]) * and doesn't restore it. When deck.gl layers subsequently render to the offscreen * FBO, their depth values inherit that compressed range, causing the fog shader's * depth reconstruction (depth * 2 − 1) to produce incorrect z values. */ export declare function resetDepthRange(model: { device: any; } | null): void;