import type { WebGLContextManager } from "../../../webgl/context-manager"; import type { SeriesChart } from "../series"; type GL = WebGL2RenderingContext | WebGLRenderingContext; /** * Area glyph for {@link SeriesChart}. Owns its program + per-series * strip buffers privately. */ export declare class AreaGlyph { private _program; private _buffers; private ensureProgram; /** * Drop persistent area buffers. Subsequent draws no-op until rebuild. */ invalidateBuffers(chart: SeriesChart): void; /** * Build per-series strip buffers for area glyphs. Reads stacked * y0/y1 from `chart._areaBarIndex` (cached at data load) and * unstacked values from `_samples`. Single GPU upload per series; * subsequent frames just rebind. */ rebuildBuffers(chart: SeriesChart, glManager: WebGLContextManager): void; /** * Bind persistent strip buffers and dispatch one TRIANGLE_STRIP per * series-run. Skips hidden series. */ draw(chart: SeriesChart, gl: GL, _glManager: WebGLContextManager, projLeft: Float32Array, projRight: Float32Array, opacity: number): void; destroy(chart: SeriesChart): void; } export {};