import type mapboxgl from "mapbox-gl"; interface LayerProgram { program: WebGLProgram; aPos: number; uMatrix: WebGLUniformLocation; uTexture: WebGLUniformLocation; vertexBuffer: WebGLBuffer; } export declare class WxTileLayer implements mapboxgl.CustomLayerInterface { sourceID: string; id: string; type: "custom"; renderingMode: "2d" | "3d"; map: any; layerProgram: LayerProgram; sourceCache: any; constructor(sourceID: string); onAdd(map: mapboxgl.Map, gl: WebGLRenderingContext): void; onRemove(map: any, gl: WebGLRenderingContext): void; render(gl: WebGLRenderingContext, matrix: Array): void; } export {}; //# sourceMappingURL=oldcustlay.d.ts.map