import { LightingEffect } from '@deck.gl/core'; import type { Texture } from '@luma.gl/core'; import type { ShaderModule } from '@luma.gl/shadertools'; export declare function patchShadowPassDepth(pass: { getLayerParameters: (layer: unknown, layerIndex: number, viewport: unknown) => Record; }): void; /** * Video export shares MapLibre's canvas. Luma's cssToDeviceRatio() can lag that * bitmap, so ShadowPass draws into a corner of its FBO and the rest samples as * fully shadowed. For the shadow pass only, read the live GL buffer; restore * afterward so the color pass / basemap stay aligned. */ export declare function alignExportShadowPass(shadowPass: any, isExportMode: () => boolean, getResolution?: () => number): void; export declare const shadowMapHoverFixModule: ShaderModule; /** * Custom LightingEffect for kepler.gl. * * Extends deck.gl's LightingEffect with: * - A patched shadow module with `outputUniformShadow` for uniform shadow * during nighttime (avoids partial shadows from below). * - Simple phong replacement for PBR layers (avoids microfacet specular). * - Shadow-map depth re-encoded after picking highlight so hovered extruded * features still cast shadows. * - getShaderModuleProps override that always provides dummyShadowMap * to prevent "Bad texture binding" errors when shadows are disabled. */ declare class CustomDeckLightingEffect extends LightingEffect { useInPicking: boolean; outputUniformShadow: boolean; isExportMode: boolean; shadowMapResolution: number; private isPicking; private get _private(); constructor(props: any); setup(context: any): void; preRender(opts: any): void; cleanup(context: any): void; getShaderModuleProps(layer: any, otherShaderModuleProps: any): { shadow: { project: any; shadowMaps: Texture[]; dummyShadowMap: Texture; shadowColor: [number, number, number, number]; shadowMatrices: import("@math.gl/core").Matrix4[] | undefined; } | { project?: undefined; shadowMaps?: undefined; dummyShadowMap?: undefined; shadowColor?: undefined; shadowMatrices?: undefined; }; lighting: import("@luma.gl/shadertools").LightingProps; phongMaterial: any; gouraudMaterial: any; }; } export default CustomDeckLightingEffect;