import type { GPUVegaCanvasContext } from '../types/context.js'; import type { SceneGradient } from '../types/scene.js'; export interface GradientResources { device: GPUDevice; /** Stop ramps keyed by gradient id (or serialized stops). */ ramps: Map; } export declare function getGradientResources(device: GPUDevice, ctx: GPUVegaCanvasContext): GradientResources; /** Creates the per-draw gradient bind group (params + ramp + sampler). */ export declare function createGradientBindGroup(res: GradientResources, pipeline: GPURenderPipeline, gradient: SceneGradient, bounds: [x: number, y: number, w: number, h: number]): GPUBindGroup;