import type { Shape } from './shape.js'; /** * Paint a single `Shape` to the 2D context. Each call is bracketed by * `ctx.save` / `ctx.restore` so per-shape state mutations (fillStyle, * lineWidth, font, transforms applied by `Group`, etc.) cannot leak to * sibling shapes. Recurses into `Group` children inside the saved scope. */ export declare const paintShape: (ctx: CanvasRenderingContext2D) => (shape: Shape) => void; /** * Clear the canvas and paint every shape in `shapes` against the given * 2D context. Called by `Canvas.view` on insert and on every postpatch. */ export declare const paintScene: (ctx: CanvasRenderingContext2D, width: number, height: number, shapes: ReadonlyArray) => void; //# sourceMappingURL=paint.d.ts.map