/** * Defines the current stroke style of the canvas. Set color and linewidth for stroke actions. */ export declare class StrokeStyle { color: string | CanvasGradient | undefined; lineWidth: number | undefined; constructor(color?: string | CanvasGradient, lineWidth?: number); isValid(): boolean; }