import { SceneNode } from './node'; import { ColorValue, Pixels } from '../options'; /** Arbitrary path with a command buffer. */ export declare class Path extends SceneNode { fill?: ColorValue; stroke?: ColorValue; strokeWidth: Pixels; lineDash?: Pixels[]; lineJoin: CanvasLineJoin; lineCap: CanvasLineCap; private readonly commands; moveTo(x: number, y: number): this; lineTo(x: number, y: number): this; curveTo(cp1x: number, cp1y: number, cp2x: number, cp2y: number, x: number, y: number): this; closePath(): this; clear(): this; protected draw(ctx: CanvasRenderingContext2D): void; }