import type { TriangleBuffer } from "../TriangleBuffer.ts"; interface BakeDrawCall { triangles: TriangleBuffer; material: { shading?: number; type?: string; }; worldPositions?: Float32Array; shadedColorData: Float32Array; shadedColorStride: number; } /** Bakes scene lights into per-vertex or per-face colors. */ export declare class LightBaker { #private; /** * Bakes lighting onto a draw call's faces or vertices. * Writes shaded RGB into drawCall.shadedColorData (flat Float32Array). * Stride is 3 for flat shading (r,g,b per face) or 9 for gouraud (r,g,b x 3 vertices). */ bake(drawCall: BakeDrawCall, lights: Record[]): void; } export {}; //# sourceMappingURL=LightBaker.d.ts.map